diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2016-07-06 14:13:29 +0200 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2016-07-06 14:13:29 +0200 |
commit | b5367f295be47f2f6ad26f113d80362102b6c36d (patch) | |
tree | 0b31472c3c7222b414da3f9ff4a2b9ad5f2313dd /core/src/test/kotlin/format | |
parent | c0064d2b43ec30237d0d39bf5a9aaa4ce5e14744 (diff) | |
download | dokka-b5367f295be47f2f6ad26f113d80362102b6c36d.tar.gz dokka-b5367f295be47f2f6ad26f113d80362102b6c36d.tar.bz2 dokka-b5367f295be47f2f6ad26f113d80362102b6c36d.zip |
don't lose exclamation marks in code blocks (KT-13000)
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r-- | core/src/test/kotlin/format/MarkdownFormatTest.kt | 4 |
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 cad1977d..00bbdd61 100644 --- a/core/src/test/kotlin/format/MarkdownFormatTest.kt +++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt @@ -210,6 +210,10 @@ class MarkdownFormatTest { verifyMarkdownNode("codeBlock") } + @Test fun exclInCodeBlock() { + verifyMarkdownNodeByName("exclInCodeBlock", "foo") + } + private fun verifyMarkdownPackage(fileName: String, withKotlinRuntime: Boolean = false) { verifyOutput("testdata/format/$fileName.kt", ".package.md", withKotlinRuntime = withKotlinRuntime) { model, output -> markdownService.createOutputBuilder(output, tempLocation).appendNodes(model.members) |