Skip to content

Commit abeb2a0

Browse files
committed
adjust expectations
1 parent f836738 commit abeb2a0

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedText2Test.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ private void getNormalizedTextWhiteSpacePre(final String whiteSpace) throws Exce
591591
@Alerts(" A B C D \n"
592592
+ "EF\n"
593593
+ "G \n"
594-
+ " H <br> I")
594+
+ " H <br> I ")
595595
public void getNormalizedTextWhiteSpaceTextArea() throws Exception {
596596
getNormalizedTextWhiteSpaceTextArea(null);
597597
}
@@ -604,7 +604,7 @@ public void getNormalizedTextWhiteSpaceTextArea() throws Exception {
604604
@Alerts(" A B C D \n"
605605
+ "EF\n"
606606
+ "G \n"
607-
+ " H <br> I")
607+
+ " H <br> I ")
608608
public void getNormalizedTextWhiteSpaceTextAreaNormal() throws Exception {
609609
getNormalizedTextWhiteSpaceTextArea("normal");
610610
}
@@ -617,7 +617,7 @@ public void getNormalizedTextWhiteSpaceTextAreaNormal() throws Exception {
617617
@Alerts(" A B C D \n"
618618
+ "EF\n"
619619
+ "G \n"
620-
+ " H <br> I")
620+
+ " H <br> I ")
621621
public void getNormalizedTextWhiteSpaceTextAreaNowrap() throws Exception {
622622
getNormalizedTextWhiteSpaceTextArea("nowrap");
623623
}
@@ -630,7 +630,7 @@ public void getNormalizedTextWhiteSpaceTextAreaNowrap() throws Exception {
630630
@Alerts(" A B C D \n"
631631
+ "EF\n"
632632
+ "G \n"
633-
+ " H <br> I")
633+
+ " H <br> I ")
634634
public void getNormalizedTextWhiteSpaceTextAreaPre() throws Exception {
635635
getNormalizedTextWhiteSpaceTextArea("pre");
636636
}
@@ -643,7 +643,7 @@ public void getNormalizedTextWhiteSpaceTextAreaPre() throws Exception {
643643
@Alerts(" A B C D \n"
644644
+ "EF\n"
645645
+ "G \n"
646-
+ " H <br> I")
646+
+ " H <br> I ")
647647
public void getNormalizedTextWhiteSpaceTextAreaPreWrap() throws Exception {
648648
getNormalizedTextWhiteSpaceTextArea("pre-wrap");
649649
}
@@ -656,7 +656,7 @@ public void getNormalizedTextWhiteSpaceTextAreaPreWrap() throws Exception {
656656
@Alerts(" A B C D \n"
657657
+ "EF\n"
658658
+ "G \n"
659-
+ " H <br> I")
659+
+ " H <br> I ")
660660
public void getNormalizedTextWhiteSpaceTextAreaPreLine() throws Exception {
661661
getNormalizedTextWhiteSpaceTextArea("pre-line");
662662
}

src/test/java/org/htmlunit/html/serializer/HtmlSerializerNormalizedTextTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ public void pre() {
225225
public void textArea() {
226226
final HtmlSerializerTextBuilder serializer = new HtmlSerializerNormalizedText.HtmlSerializerTextBuilder();
227227
serializer.append(" hello \t abc ", Mode.PRESERVE_BLANK_NEWLINE);
228-
assertEquals(" hello abc", serializer.getText());
228+
assertEquals(" hello abc ", serializer.getText());
229229
}
230230

231231
/**

0 commit comments

Comments
 (0)