aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-17 17:40:32 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-17 17:40:32 +0300
commit2ceff9c41cff42b7fb3ffe75ea36a7c570f3615b (patch)
tree4d0f1d9624b02e58f2d608674d3a466f2e1a3c58 /core/src/test/kotlin/model
parent994a86700210fe5f26a8bc131815bde2f6269ac5 (diff)
downloaddokka-2ceff9c41cff42b7fb3ffe75ea36a7c570f3615b.tar.gz
dokka-2ceff9c41cff42b7fb3ffe75ea36a7c570f3615b.tar.bz2
dokka-2ceff9c41cff42b7fb3ffe75ea36a7c570f3615b.zip
Fix for GH-136 GH-137 Blank lines inside code blocks are not preserved
Diffstat (limited to 'core/src/test/kotlin/model')
-rw-r--r--core/src/test/kotlin/model/CommentTest.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/test/kotlin/model/CommentTest.kt b/core/src/test/kotlin/model/CommentTest.kt
index 25fea48d..2b2bc87e 100644
--- a/core/src/test/kotlin/model/CommentTest.kt
+++ b/core/src/test/kotlin/model/CommentTest.kt
@@ -10,14 +10,18 @@ public class CommentTest {
verifyModel("testdata/comments/codeBlockComment.kt") { model ->
with(model.members.single().members.first()) {
assertEqualsIgnoringSeparators("""[code lang=brainfuck]
+ |
|++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
+ |
|[/code]
|""".trimMargin(),
content.toTestString())
}
with(model.members.single().members.last()) {
assertEqualsIgnoringSeparators("""[code]
+ |
|a + b - c
+ |
|[/code]
|""".trimMargin(),
content.toTestString())