aboutsummaryrefslogtreecommitdiff
path: root/test/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-01-13 16:38:41 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-01-13 16:38:41 +0100
commit2e277ba086f727c755e584f93280cb4d00e7444e (patch)
treedd229d28ae73a3cabe74fdd42712fd08294feee6 /test/src
parent891cc8569d535c3ac5ade23d7fd56dbca619e05b (diff)
downloaddokka-2e277ba086f727c755e584f93280cb4d00e7444e.tar.gz
dokka-2e277ba086f727c755e584f93280cb4d00e7444e.tar.bz2
dokka-2e277ba086f727c755e584f93280cb4d00e7444e.zip
correcty represent vararg parameters
Diffstat (limited to 'test/src')
-rw-r--r--test/src/format/MarkdownFormatTest.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt
index a5a62e13..f7fc6da0 100644
--- a/test/src/format/MarkdownFormatTest.kt
+++ b/test/src/format/MarkdownFormatTest.kt
@@ -55,4 +55,10 @@ public class MarkdownFormatTest {
enumClassNode.members.filter { it.name == "LOCAL_CONTINUE_AND_BREAK" })
}
}
+
+ Test fun varargsFunction() {
+ verifyOutput("test/data/format/varargsFunction.kt", ".md") { model, output ->
+ markdownService.appendNodes(tempLocation, output, model.members.single().members)
+ }
+ }
}