From 4b2c12c651df3ee8b3ab680edbce4e257c204a3d Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Mon, 28 Nov 2016 22:17:35 +0300 Subject: Fix sometimes failing test --- core/src/test/kotlin/model/CommentTest.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core/src') 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(), -- cgit