From 68318a6e3960ffb965b77ca66e9e28ad6ea06442 Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Fri, 1 Apr 2016 16:30:47 +0200 Subject: KT-11329: improve formatting of KDoc sections --- core/src/test/kotlin/format/KotlinWebSiteFormatTest.kt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/src/test/kotlin/format') 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 }) -- cgit