mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 03:15:32 -04:00
Add test to show bug
This commit is contained in:
parent
4e0faebe62
commit
c03054b1a6
@ -126,6 +126,8 @@ public class JSONObjectTest {
|
|||||||
|
|
||||||
assertTrue("Should eval to true", obj1.similar(obj4));
|
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
|
@Test
|
||||||
|
Loading…
x
Reference in New Issue
Block a user