We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd958e0 commit 974c09bCopy full SHA for 974c09b
src/test/org/json/junit/JSONObjectTest.java
@@ -520,7 +520,7 @@ public void jsonObjectValues() {
520
@Test
521
public void stringToValueNumbersTest() {
522
assertTrue("-0 Should be a Double!",JSONObject.stringToValue("-0") instanceof Double);
523
- assertTrue("-0 Should be a Double!",JSONObject.stringToValue("-0.0") instanceof Double);
+ assertTrue("-0.0 Should be a Double!",JSONObject.stringToValue("-0.0") instanceof Double);
524
assertTrue("'-' Should be a String!",JSONObject.stringToValue("-") instanceof String);
525
assertTrue( "0.2 should be a Double!",
526
JSONObject.stringToValue( "0.2" ) instanceof Double );
0 commit comments