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 8f49fb7 commit 30ee3ceCopy full SHA for 30ee3ce
src/test/java/tools/jackson/databind/objectid/ObjectId3838Test.java
@@ -196,7 +196,12 @@ public void testUniformHandlingForMissingObjectId() throws Exception
196
197
// 2. but works with non-empty JSON object
198
ResultGetter nonEmptyObj = (ResultGetter) MAPPER.readValue(a2q(jsonStr), cls);
199
- assertEquals("great", nonEmptyObj.result());
+ String result = nonEmptyObj.result();
200
+ if (!"great".equals(result)) {
201
+ fail("Class '"+cls.getName()+", json "+jsonStr
202
+ +" : should get 'great', got "
203
+ +((result == null) ? "null" : String.format("'%s'", result)));
204
+ }
205
}
206
207
0 commit comments