[BAEL-2397] Text Blocks
Move the + signs to the beginning of the lines
This commit is contained in:
parent
4c1b542fd9
commit
1e2c72c2a5
|
@ -9,7 +9,12 @@ class TextBlocks13UnitTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void givenAnOldStyleMultilineString_whenComparing_thenEqualsTextBlock() {
|
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);
|
assertThat(subject.getBlockOfHtml()).isEqualTo(expected);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue