Skip to content

Commit

Permalink
fixed issue skyscreamer#130
Browse files Browse the repository at this point in the history
  • Loading branch information
zihanxu3 committed Dec 8, 2021
1 parent 81a3602 commit 7aeb2e3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/test/java/org/skyscreamer/jsonassert/JSONAssertTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,11 @@ public void testAssertWithNullValues4() throws JSONException {
performAssertEqualsTestForMessageVerification("[{id:1},{id:2},]", "[{id:1},{id:2},{}]", true);
}

@Test
public void testAssertWithNullValues5() throws JSONException {
JSONAssert.assertEquals("[{id:1},{id:2},]" , "[{id:1},{id:2},]" , true);
}

private void testPass(String expected, String actual, JSONCompareMode compareMode)
throws JSONException
{
Expand Down

0 comments on commit 7aeb2e3

Please sign in to comment.