You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Customization class inverts the order of expected and actual parameters compared to other parts of the library #175
The
Customization.matches(Object actual, Object expected)method inverts the order of the parameters compared to the main compare methods, e.g.JSONCompare.compareJSON(String expectedStr, String actualStr, JSONComparator comparator)andJSONAssert.assertEquals(String expectedStr, JSONObject actual, boolean strict).Please change the code to use a consistent ordering to prevent confusion when writing custom comparison
Customizations.