diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2022-09-26 16:33:24 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 16:33:24 +0300 |
commit | a816e917995858129ad074409f73e99d3b100318 (patch) | |
tree | 746bbe15a2055642179c2aa9ab4e3580c9cf95bb /plugins/base/src/test/kotlin/markdown | |
parent | a0250a5d8188fd539ffe516f7c49ce0eed1d3ded (diff) | |
download | dokka-a816e917995858129ad074409f73e99d3b100318.tar.gz dokka-a816e917995858129ad074409f73e99d3b100318.tar.bz2 dokka-a816e917995858129ad074409f73e99d3b100318.zip |
Trim four spaces inside indented code block (#2661)
* Trim four spaces inside indented code block
* Fix test
Diffstat (limited to 'plugins/base/src/test/kotlin/markdown')
-rw-r--r-- | plugins/base/src/test/kotlin/markdown/ParserTest.kt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/base/src/test/kotlin/markdown/ParserTest.kt b/plugins/base/src/test/kotlin/markdown/ParserTest.kt index 8e813eba..fd723263 100644 --- a/plugins/base/src/test/kotlin/markdown/ParserTest.kt +++ b/plugins/base/src/test/kotlin/markdown/ParserTest.kt @@ -1340,11 +1340,11 @@ class ParserTest : KDocTest() { CodeBlock( listOf( Text( - " val x = 1\n" + - " val y = 2\n" + - " if (x == 1) {\n" + - " println(y)\n" + - " }" + "val x = 1\n" + + "val y = 2\n" + + "if (x == 1) {\n" + + " println(y)\n" + + "}" ) ) ) |