Skip to content

Commit

Permalink
Add test to show bug
Browse files Browse the repository at this point in the history
  • Loading branch information
johnjaylward committed Jul 23, 2021
1 parent 4e0faeb commit c03054b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/java/org/json/junit/JSONObjectTest.java
Expand Up @@ -126,6 +126,8 @@ public void verifySimilar() {

assertTrue("Should eval to true", obj1.similar(obj4));

assertTrue("should eval to true",new JSONObject().put("a",1.1d).similar(new JSONObject("{\"a\":1.1}")));

}

@Test
Expand Down

0 comments on commit c03054b

Please sign in to comment.