From cf4bb4673730cc0787784380fc986efec8f8e9fb Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Tue, 7 Feb 2017 15:48:30 +0300 Subject: KT-16197 WebDemo: No empty strings #KT-16197 fixed --- core/src/test/kotlin/model/CommentTest.kt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'core/src/test/kotlin/model') diff --git a/core/src/test/kotlin/model/CommentTest.kt b/core/src/test/kotlin/model/CommentTest.kt index 25fea48d..0d6a3374 100644 --- a/core/src/test/kotlin/model/CommentTest.kt +++ b/core/src/test/kotlin/model/CommentTest.kt @@ -153,22 +153,26 @@ line two""", toTestString()) with(model.members.single().members.first()) { assertEquals("Summary", content.summary.toTestString()) with (content.description) { - assertEqualsIgnoringSeparators("""[code lang=kotlin] + assertEqualsIgnoringSeparators(""" + |[code lang=kotlin] |if (true) { | println(property) |} |[/code] |[code lang=kotlin] + | |if (true) { | println(property) |} |[/code] |[code lang=kotlin] + | |if (true) { | println(property) |} |[/code] |[code lang=kotlin] + | |if (true) { | println(property) |} -- cgit From 4517ce588431fc6080bad24d947c53c8d82fcaa0 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Thu, 9 Feb 2017 17:14:34 +0300 Subject: Removed leading newline --- core/src/test/kotlin/model/CommentTest.kt | 3 --- 1 file changed, 3 deletions(-) (limited to 'core/src/test/kotlin/model') diff --git a/core/src/test/kotlin/model/CommentTest.kt b/core/src/test/kotlin/model/CommentTest.kt index 0d6a3374..0d919128 100644 --- a/core/src/test/kotlin/model/CommentTest.kt +++ b/core/src/test/kotlin/model/CommentTest.kt @@ -160,19 +160,16 @@ line two""", toTestString()) |} |[/code] |[code lang=kotlin] - | |if (true) { | println(property) |} |[/code] |[code lang=kotlin] - | |if (true) { | println(property) |} |[/code] |[code lang=kotlin] - | |if (true) { | println(property) |} -- cgit