[BAEL-2397] Text Blocks

Move the + signs to the beginning of the lines
This commit is contained in:
Martin van Wingerden 2020-02-05 22:01:08 +01:00
parent 4c1b542fd9
commit 1e2c72c2a5
1 changed files with 6 additions and 1 deletions

View File

@ -9,7 +9,12 @@ class TextBlocks13UnitTest {
@Test
void givenAnOldStyleMultilineString_whenComparing_thenEqualsTextBlock() {
String expected = "<html>\n" + "\n" + " <body>\n" + " <p>example text</p>\n" + " </body>\n" + "</html>";
String expected = "<html>\n"
+ "\n"
+ " <body>\n"
+ " <p>example text</p>\n"
+ " </body>\n"
+ "</html>";
assertThat(subject.getBlockOfHtml()).isEqualTo(expected);
}