Skip to content

Commit 5150564

Browse files
committed
Improved test
1 parent 5db8471 commit 5150564

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/github/underscore/StringTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3613,7 +3613,7 @@ void fromXmlStackoverflowObject() throws IOException {
36133613
U.fromXmlMap(stringXml);
36143614
} catch (Throwable throwable) {
36153615
assertTrue(throwable instanceof StackOverflowError
3616-
|| throwable instanceof org.xml.sax.SAXParseException);
3616+
|| throwable instanceof IllegalArgumentException);
36173617
}
36183618
}
36193619

0 commit comments

Comments
 (0)