[BAEL-2397] Text Blocks

Replaced by `p` by `span`
This commit is contained in:
Martin van Wingerden
2020-02-07 14:06:26 +01:00
parent 41866bff19
commit a835f17474
2 changed files with 3 additions and 3 deletions

View File

@@ -6,7 +6,7 @@ public class TextBlocks13 {
<html>
<body>
<p>example text</p>
<span>example text</span>
</body>
</html>""";
}

View File

@@ -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);
}