aboutsummaryrefslogtreecommitdiff
path: root/test/src/format/MarkdownFormatTest.kt
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/format/MarkdownFormatTest.kt')
-rw-r--r--test/src/format/MarkdownFormatTest.kt8
1 files changed, 8 insertions, 0 deletions
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" })
+ }
+
+ }
}