From 0dd5ea3c1492b15bd386ec5c2c8d6e467a8f72a9 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 14 Jan 2015 13:30:43 +0100 Subject: link overriding functions to the corresponding base class functions --- test/src/format/MarkdownFormatTest.kt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/src/format') diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt index f7fc6da0..580acd7c 100644 --- a/test/src/format/MarkdownFormatTest.kt +++ b/test/src/format/MarkdownFormatTest.kt @@ -61,4 +61,12 @@ public class MarkdownFormatTest { markdownService.appendNodes(tempLocation, output, model.members.single().members) } } + + Test fun overridingFunction() { + verifyOutput("test/data/format/overridingFunction.kt", ".md") { model, output -> + val classMembers = model.members.single().members.first { it.name == "D" }.members + markdownService.appendNodes(tempLocation, output, classMembers.filter { it.name == "f" }) + } + + } } -- cgit