aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/format
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-16 17:50:23 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-16 17:50:23 +0300
commit994a86700210fe5f26a8bc131815bde2f6269ac5 (patch)
tree0a58b950b24288d2b1692aaf9136ec1f0433944c /core/src/test/kotlin/format
parentdcb948ea12a7ef3c2515dc621d648baf4c6806d9 (diff)
downloaddokka-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.kt5
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)