diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-04-01 16:30:47 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-04-01 16:30:47 +0200 |
commit | 68318a6e3960ffb965b77ca66e9e28ad6ea06442 (patch) | |
tree | f031aac23e4caf2579843133cdc5c48882b4066e /core/src/test | |
parent | 011019a20eec1de2bdc699ca81e5465db8d543a9 (diff) | |
download | dokka-68318a6e3960ffb965b77ca66e9e28ad6ea06442.tar.gz dokka-68318a6e3960ffb965b77ca66e9e28ad6ea06442.tar.bz2 dokka-68318a6e3960ffb965b77ca66e9e28ad6ea06442.zip |
KT-11329: improve formatting of KDoc sections
Diffstat (limited to 'core/src/test')
-rw-r--r-- | core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt b/core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt index a96139fd..d4738b2f 100644 --- a/core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt +++ b/core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt @@ -11,6 +11,10 @@ class KotlinWebSiteFormatTest { verifyKWSNodeByName("sample", "foo") } + @Test fun returnTag() { + verifyKWSNodeByName("returnTag", "indexOf") + } + private fun verifyKWSNodeByName(fileName: String, name: String) { verifyOutput("testdata/format/website/$fileName.kt", ".md") { model, output -> kwsService.appendNodes(tempLocation, output, model.members.single().members.filter { it.name == name }) |