Skip to content

Commit 2cfda73

Browse files
author
Tatu Saloranta
committed
Backport test fix wrt #52
1 parent 513adab commit 2cfda73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eclipse-collections/src/test/java/com/fasterxml/jackson/datatype/eclipsecollections/DeserializerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ public void pairTyped() throws Exception {
645645
final String actJson = mapper.writerFor(new TypeReference<ObjectIntPair<A>>() {})
646646
.writeValueAsString(pair);
647647
String expJson = "{\"one\":{\"@c\":\".DeserializerTest$B\"},\"two\":5}";
648-
Assert.assertEquals(expJson, actJson);
648+
Assert.assertEquals(mapper.readTree(expJson), mapper.readTree(actJson));
649649
Assert.assertEquals(pair,
650650
mapper.readValue(actJson, new TypeReference<ObjectIntPair<A>>() {})
651651
);

0 commit comments

Comments
 (0)