Skip to content

Commit

Permalink
#247 even more
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 6, 2024
1 parent cf14eac commit ff73bfd
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/test/java/com/jcabi/xml/XMLDocumentTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -432,12 +432,10 @@ void extractsNodesFromPom() throws Exception {
@Test
void stripsUnnecessaryWhiteSpacesWhileParsing() {
MatcherAssert.assertThat(
new XMLDocument(
"<x><y>hello</y></x>"
),
new XMLDocument("<x><y>hello</y></x>"),
Matchers.equalTo(
new XMLDocument(
"<x> \n\n\n <y>hello</y> \n </x>"
"<x> \n\n\n <y>hello</y > \n </x >"
)
)
);
Expand Down

0 comments on commit ff73bfd

Please sign in to comment.