diff options
Diffstat (limited to 'test/src/format')
-rw-r--r-- | test/src/format/MarkdownFormatTest.kt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/src/format/MarkdownFormatTest.kt b/test/src/format/MarkdownFormatTest.kt new file mode 100644 index 00000000..beb727da --- /dev/null +++ b/test/src/format/MarkdownFormatTest.kt @@ -0,0 +1,16 @@ +package org.jetbrains.dokka.tests + +import org.junit.Test +import org.jetbrains.dokka.* +import java.io.File +import kotlin.test.assertEquals + +public class MarkdownFormatTest { + private val markdownService = MarkdownFormatService(InMemoryLocationService, KotlinLanguageService()) + + Test fun emptyDescription() { + verifyOutput("test/data/format/emptyDescription.kt") { model, output -> + markdownService.appendNodes(tempLocation, output, model.members.single().members) + } + } +} |