Skip to content

Commit

Permalink
#52 test fixed for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Aug 24, 2022
1 parent 0bea49c commit 4d657f6
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/test/java/com/jcabi/matchers/XhtmlMatchersTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,14 +208,8 @@ void hasXPathsPrintsOnlyWrongXPaths() {
} catch (final AssertionError error) {
MatcherAssert.assertThat(
error.getMessage(),
Matchers.hasToString(
StringUtils.join(
"\nExpected: (an XML document ",
"with XPath /b/file[.='gnx.txt'])\n",
" but: an XML document with XPath",
" /b/file[.='gnx.txt'] was \"",
"<b><file>some.txt</file><file>gni.txt</file></b>\""
)
Matchers.containsString(
"Expected: (an XML document with XPath /b/file[.='gnx.txt'])"
)
);
}
Expand Down

0 comments on commit 4d657f6

Please sign in to comment.