diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-10-29 17:51:31 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2018-10-29 17:51:31 +0300 |
commit | e5306fe45388b715807ddad6c7173861c6c8e1a6 (patch) | |
tree | ef08e7d0e88d26bb4790fdf0f396156540585adc /core/src/test/kotlin/format | |
parent | 711717a7a2f6b22050b1418173d7097b5f6bcd8d (diff) | |
download | dokka-e5306fe45388b715807ddad6c7173861c6c8e1a6.tar.gz dokka-e5306fe45388b715807ddad6c7173861c6c8e1a6.tar.bz2 dokka-e5306fe45388b715807ddad6c7173861c6c8e1a6.zip |
Fix test data
As Javadoc spec doesn't allow @param tag for classes
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r-- | core/src/test/kotlin/format/MarkdownFormatTest.kt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt index 3723e5ae..a456836d 100644 --- a/core/src/test/kotlin/format/MarkdownFormatTest.kt +++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt @@ -109,7 +109,12 @@ class MarkdownFormatTest: FileGeneratorTestCase() { } @Test fun javaCodeInParam() { - verifyJavaMarkdownNode("javaCodeInParam") + verifyJavaMarkdownNodes("javaCodeInParam") { + selectNodes(it) { + subgraphOf(RefKind.Member) + withKind(NodeKind.Function) + } + } } @Test fun javaSpaceInAuthor() { |