We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 978b341 commit 31c1550Copy full SHA for 31c1550
1 file changed
src/test/java/org/htmlunit/WebAssertTest.java
@@ -136,7 +136,8 @@ public void assertElementNotPresentByXPath() throws Exception {
136
final AssertionError error = assertThrows(AssertionError.class, () -> {
137
WebAssert.assertElementNotPresentByXPath(page, "html/body/div");
138
});
139
- assertEquals("Found 1 unexpected element(s) matching the XPath expression 'html/body/div'.", error.getMessage());
+ assertEquals("Found 1 unexpected element(s) matching the XPath expression 'html/body/div'.",
140
+ error.getMessage());
141
}
142
143
/**
0 commit comments