Skip to content

Commit 41866bf

Browse files
committed
[BAEL-2397] Text Blocks
Move the + signs to the beginning of the lines
1 parent 52c7078 commit 41866bf

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

core-java-modules/core-java-14/src/test/java/com/baeldung/java14/textblocks/TextBlocks13UnitTest.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ class TextBlocks13UnitTest {
99

1010
@Test
1111
void givenAnOldStyleMultilineString_whenComparing_thenEqualsTextBlock() {
12-
String expected = "<html>\n" + "\n" + " <body>\n" + " <p>example text</p>\n" + " </body>\n" + "</html>";
12+
String expected = "<html>\n"
13+
+ "\n"
14+
+ " <body>\n"
15+
+ " <p>example text</p>\n"
16+
+ " </body>\n"
17+
+ "</html>";
1318
assertThat(subject.getBlockOfHtml()).isEqualTo(expected);
1419
}
1520

0 commit comments

Comments
 (0)