parent
1e2c72c2a5
commit
b0ba3cec5f
|
@ -6,7 +6,7 @@ public class TextBlocks13 {
|
|||
<html>
|
||||
|
||||
<body>
|
||||
<p>example text</p>
|
||||
<span>example text</span>
|
||||
</body>
|
||||
</html>""";
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ class TextBlocks13UnitTest {
|
|||
String expected = "<html>\n"
|
||||
+ "\n"
|
||||
+ " <body>\n"
|
||||
+ " <p>example text</p>\n"
|
||||
+ " <span>example text</span>\n"
|
||||
+ " </body>\n"
|
||||
+ "</html>";
|
||||
assertThat(subject.getBlockOfHtml()).isEqualTo(expected);
|
||||
|
@ -20,7 +20,7 @@ class TextBlocks13UnitTest {
|
|||
|
||||
@Test
|
||||
void givenAnOldStyleString_whenComparing_thenEqualsTextBlock() {
|
||||
String expected = "<html>\n\n <body>\n <p>example text</p>\n </body>\n</html>";
|
||||
String expected = "<html>\n\n <body>\n <span>example text</span>\n </body>\n</html>";
|
||||
assertThat(subject.getBlockOfHtml()).isEqualTo(expected);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue