aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/format
diff options
context:
space:
mode:
authorAlex Waters <awaters@nextfaze.com>2017-04-28 14:56:44 +0930
committerSimon Ogorodnik <sem-oro@yandex.ru>2017-05-02 15:48:38 +0300
commitacbe2f8c47a81c8e6046214f600ffdef24890fa6 (patch)
tree114626d3489c1eb74c78f7e36a3d95b3ef2ab62b /core/src/test/kotlin/format
parent5d611906da72c6ceff3722d307cf663461c908e7 (diff)
downloaddokka-acbe2f8c47a81c8e6046214f600ffdef24890fa6.tar.gz
Fix missing whitespace around links and tokens in Markdown formatted text
Diffstat (limited to 'core/src/test/kotlin/format')
-rw-r--r--core/src/test/kotlin/format/MarkdownFormatTest.kt24
1 files changed, 24 insertions, 0 deletions
diff --git a/core/src/test/kotlin/format/MarkdownFormatTest.kt b/core/src/test/kotlin/format/MarkdownFormatTest.kt
index 16a811652..999d739bc 100644
--- a/core/src/test/kotlin/format/MarkdownFormatTest.kt
+++ b/core/src/test/kotlin/format/MarkdownFormatTest.kt
@@ -332,6 +332,30 @@ class MarkdownFormatTest {
}
}
+ @Test fun linksInEmphasis() {
+ verifyMarkdownNode("linksInEmphasis")
+ }
+
+ @Test fun linksInStrong() {
+ verifyMarkdownNode("linksInStrong")
+ }
+
+ @Test fun linksInHeaders() {
+ verifyMarkdownNode("linksInHeaders")
+ }
+
+ @Test fun tokensInEmphasis() {
+ verifyMarkdownNode("tokensInEmphasis")
+ }
+
+ @Test fun tokensInStrong() {
+ verifyMarkdownNode("tokensInStrong")
+ }
+
+ @Test fun tokensInHeaders() {
+ verifyMarkdownNode("tokensInHeaders")
+ }
+
private fun buildMultiplePlatforms(path: String): DocumentationModule {
val module = DocumentationModule("test")
val options = DocumentationOptions("", "html", generateIndexPages = false)