aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin/model
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-28 22:17:35 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-28 22:17:35 +0300
commit4b2c12c651df3ee8b3ab680edbce4e257c204a3d (patch)
tree023c396299f1ea749d854ea36edaa30b1fa02093 /core/src/test/kotlin/model
parente9cf2d779c03e278ddfd5adb0d1c743961d8d07a (diff)
downloaddokka-4b2c12c651df3ee8b3ab680edbce4e257c204a3d.tar.gz
dokka-4b2c12c651df3ee8b3ab680edbce4e257c204a3d.tar.bz2
dokka-4b2c12c651df3ee8b3ab680edbce4e257c204a3d.zip
Fix sometimes failing test
Diffstat (limited to 'core/src/test/kotlin/model')
-rw-r--r--core/src/test/kotlin/model/CommentTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/kotlin/model/CommentTest.kt b/core/src/test/kotlin/model/CommentTest.kt
index 55fa3fc0..25fea48d 100644
--- a/core/src/test/kotlin/model/CommentTest.kt
+++ b/core/src/test/kotlin/model/CommentTest.kt
@@ -9,14 +9,14 @@ public class CommentTest {
@Test fun codeBlockComment() {
verifyModel("testdata/comments/codeBlockComment.kt") { model ->
with(model.members.single().members.first()) {
- assertEquals("""[code lang=brainfuck]
+ assertEqualsIgnoringSeparators("""[code lang=brainfuck]
|++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.
|[/code]
|""".trimMargin(),
content.toTestString())
}
with(model.members.single().members.last()) {
- assertEquals("""[code]
+ assertEqualsIgnoringSeparators("""[code]
|a + b - c
|[/code]
|""".trimMargin(),