Skip to content

Commit

Permalink
Fixed an assert
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy committed Apr 26, 2023
1 parent f0ae81b commit d9544a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/test/java/org/jsoup/parser/HtmlParserTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -1729,8 +1729,7 @@ private boolean didAddElements(String input) {
// https://github.com/jhy/jsoup/issues/1851
String html = "<body><div>One</html>Two</div></body>";
Document doc = Jsoup.parse(html);
//assertEquals("OneTwo", doc.expectFirst("body > div").text());
System.out.println(doc.html());
assertEquals("OneTwo", doc.expectFirst("body > div").text());
}

@Test void largeTextareaContents() {
Expand Down

0 comments on commit d9544a4

Please sign in to comment.