aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2016-01-05 18:01:13 +0100
committerDmitry Jemerov <yole@jetbrains.com>2016-01-05 18:01:13 +0100
commitada91f40f716b20a69d8372dc5c6e250312543f7 (patch)
tree74c3cb25f8662c5c3db30f572b9abae764a59664 /core/src/test/kotlin/format
parent9b9b689d67a20abb52fcde5ed4655d9a5092b8df (diff)
downloaddokka-ada91f40f716b20a69d8372dc5c6e250312543f7.tar.gz
dokka-ada91f40f716b20a69d8372dc5c6e250312543f7.tar.bz2
dokka-ada91f40f716b20a69d8372dc5c6e250312543f7.zip
render multiple type parameter constraints according to current Kotlin syntax
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r--core/src/test/kotlin/format/MarkdownFormatTest.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt
index 81e0cb6b..a723cb2a 100644
--- a/core/src/test/kotlin/format/MarkdownFormatTest.kt
+++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt
@@ -222,6 +222,10 @@ public class MarkdownFormatTest {
verifyMarkdownNodeByName("arrayAverage", "XArray")
}
+ @Test fun multipleTypeParameterConstraints() {
+ verifyMarkdownNode("multipleTypeParameterConstraints", withKotlinRuntime = true)
+ }
+
private fun verifyMarkdownPackage(fileName: String, withKotlinRuntime: Boolean = false) {
verifyOutput("testdata/format/$fileName.kt", ".package.md", withKotlinRuntime = withKotlinRuntime) { model, output ->
markdownService.appendNodes(tempLocation, output, model.members)