Skip to content

Commit 346fb38

Browse files
committed
Update master
1 parent 6ec8b15 commit 346fb38

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/org/skyscreamer/jsonassert/JSONAssertTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public void testSimpleStrict() throws JSONException {
2626

2727
@Test
2828
public void testReversed() throws JSONException {
29-
testPass("{name:\"Joe\"},id:1}", "{id:1,name:\"Joe\"}", false);
29+
testPass("{name:\"Joe\",id:1}", "{id:1,name:\"Joe\"}", false);
30+
testPass("{name:\"Joe\",id:1}", "{id:1,name:\"Joe\"}", true);
3031
}
3132

3233
@Test // Currently JSONAssert assumes JSONObject. Consider migrating to net.sf.json to cleanly add arrays.

0 commit comments

Comments
 (0)