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 7cbc141 commit 31b6620Copy full SHA for 31b6620
src/test/java/com/fasterxml/jackson/databind/struct/TestPOJOAsArrayWithBuilder.java
@@ -207,7 +207,8 @@ public void testUnknownExtraProp() throws Exception
207
MAPPER.readValue(json, ValueClassXY.class);
208
fail("should not pass with extra element");
209
} catch (MismatchedInputException e) {
210
- verifyException(e, "Unexpected JSON values");
+ // Looks like we get either "Unexpected JSON values" or "Unexpected JSON value(s)"
211
+ verifyException(e, "Unexpected JSON value");
212
}
213
214
// but actually fine if skip-unknown set
0 commit comments