diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-02-16 17:50:23 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-02-16 17:50:23 +0300 |
commit | 994a86700210fe5f26a8bc131815bde2f6269ac5 (patch) | |
tree | 0a58b950b24288d2b1692aaf9136ec1f0433944c /core/src/test/kotlin/format | |
parent | dcb948ea12a7ef3c2515dc621d648baf4c6806d9 (diff) | |
download | dokka-994a86700210fe5f26a8bc131815bde2f6269ac5.tar.gz dokka-994a86700210fe5f26a8bc131815bde2f6269ac5.tar.bz2 dokka-994a86700210fe5f26a8bc131815bde2f6269ac5.zip |
KT-16262 Dokka does not render suspending function types properly
#KT-16262 fixed
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r-- | core/src/test/kotlin/format/MarkdownFormatTest.kt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt index c425e3f6..f870d898 100644 --- a/core/src/test/kotlin/format/MarkdownFormatTest.kt +++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt @@ -236,6 +236,11 @@ class MarkdownFormatTest { verifyMarkdownPackage("typeAliases") } + @Test fun suspendParam() { + verifyMarkdownNode("suspendParam") + verifyMarkdownPackage("suspendParam") + } + private fun verifyMarkdownPackage(fileName: String, withKotlinRuntime: Boolean = false) { verifyOutput("testdata/format/$fileName.kt", ".package.md", withKotlinRuntime = withKotlinRuntime) { model, output -> markdownService.createOutputBuilder(output, tempLocation).appendNodes(model.members) |