aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/format
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2016-04-28 16:17:10 +0200
committerDmitry Jemerov <yole@jetbrains.com>2016-04-28 16:17:10 +0200
commit1574339f6950c8662e9b480dc0c3f63403bfdfab (patch)
tree22a20f2b80eccbb4d31c4abadede2cda5a8312b2 /core/src/test/kotlin/format
parent2e5b40d69e15c30474cf8564b08587f15ed8e383 (diff)
downloaddokka-1574339f6950c8662e9b480dc0c3f63403bfdfab.tar.gz
dokka-1574339f6950c8662e9b480dc0c3f63403bfdfab.tar.bz2
dokka-1574339f6950c8662e9b480dc0c3f63403bfdfab.zip
test to ensure KT-10998 doesn't happen in Dokka
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r--core/src/test/kotlin/format/HtmlFormatTest.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/HtmlFormatTest.kt b/core/src/test/kotlin/format/HtmlFormatTest.kt
index 0fc56361..0b4f9958 100644
--- a/core/src/test/kotlin/format/HtmlFormatTest.kt
+++ b/core/src/test/kotlin/format/HtmlFormatTest.kt
@@ -164,6 +164,10 @@ class HtmlFormatTest {
verifyHtmlNode("markdownInLinks")
}
+ @Test fun returnWithLink() {
+ verifyHtmlNode("returnWithLink")
+ }
+
private fun verifyHtmlNode(fileName: String, withKotlinRuntime: Boolean = false) {
verifyOutput("testdata/format/$fileName.kt", ".html", withKotlinRuntime = withKotlinRuntime) { model, output ->
htmlService.appendNodes(tempLocation, output, model.members.single().members)