aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/markdown
diff options
context:
space:
mode:
authorAndrzej Ratajczak <andrzej.ratajczak98@gmail.com>2020-02-11 15:24:54 +0100
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-02-12 14:29:06 +0100
commit193d8259c234c3b73d4f89f10aa0e2cdfc217e6c (patch)
treee56381e95c7aa171e4df7bdeb0920bd5047d1081 /core/src/test/kotlin/markdown
parent2d9f0753bb925f6a6d08ab7e67d5676c196de7d0 (diff)
downloaddokka-193d8259c234c3b73d4f89f10aa0e2cdfc217e6c.tar.gz
dokka-193d8259c234c3b73d4f89f10aa0e2cdfc217e6c.tar.bz2
dokka-193d8259c234c3b73d4f89f10aa0e2cdfc217e6c.zip
Removes unnecessary white space
Diffstat (limited to 'core/src/test/kotlin/markdown')
-rw-r--r--core/src/test/kotlin/markdown/KDocTest.kt2
-rw-r--r--core/src/test/kotlin/markdown/ParserTest.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/kotlin/markdown/KDocTest.kt b/core/src/test/kotlin/markdown/KDocTest.kt
index c084154b..c58c4e30 100644
--- a/core/src/test/kotlin/markdown/KDocTest.kt
+++ b/core/src/test/kotlin/markdown/KDocTest.kt
@@ -20,7 +20,7 @@ open class KDocTest : AbstractCoreTest() {
|/src/main/kotlin/example/Test.kt
|package example
| /**
- ${kdoc.split("\n").joinToString("") { "| * $it\n" } }
+ ${kdoc.split("\n").joinToString("") { "| *$it\n" } }
| */
|class Test
""".trimMargin()
diff --git a/core/src/test/kotlin/markdown/ParserTest.kt b/core/src/test/kotlin/markdown/ParserTest.kt
index 107940f6..35b004e7 100644
--- a/core/src/test/kotlin/markdown/ParserTest.kt
+++ b/core/src/test/kotlin/markdown/ParserTest.kt
@@ -101,7 +101,7 @@ class ParserTest : KDocTest() {
}
@Test fun `Emphasis with star`() {
- val kdoc = "*text*"
+ val kdoc = " *text*"
val expectedDocumentationNode = DocumentationNode(
listOf(
Description(