We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52c7078 commit 41866bfCopy full SHA for 41866bf
1 file changed
core-java-modules/core-java-14/src/test/java/com/baeldung/java14/textblocks/TextBlocks13UnitTest.java
@@ -9,7 +9,12 @@ class TextBlocks13UnitTest {
9
10
@Test
11
void givenAnOldStyleMultilineString_whenComparing_thenEqualsTextBlock() {
12
- String expected = "<html>\n" + "\n" + " <body>\n" + " <p>example text</p>\n" + " </body>\n" + "</html>";
+ String expected = "<html>\n"
13
+ + "\n"
14
+ + " <body>\n"
15
+ + " <p>example text</p>\n"
16
+ + " </body>\n"
17
+ + "</html>";
18
assertThat(subject.getBlockOfHtml()).isEqualTo(expected);
19
}
20
0 commit comments