-
Notifications
You must be signed in to change notification settings - Fork 202
Open
Description
There is an issue with comparion of JSON with duplicated fields:
@Test
public void testJSONAssert() throws JSONException {
String expected = "{\"field\":\"val1\"}";
String actual = "{\"field\":\"val2\",\"field\":\"val1\"}";
JSONAssert.assertEquals(expected, actual, JSONCompareMode.STRICT);
}
This test has passed but it don't looks like expected behavior.
The issue is actual for Jackson serializer in java. It behaves incorrect in some cases and I would like to check it in my tests.
talbot, kkrawczy and schnapster
Metadata
Metadata
Assignees
Labels
No labels