Skip to content

Commit 974c09b

Browse files
author
John J. Aylward
committed
Fixes typo in assert
1 parent bd958e0 commit 974c09b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/org/json/junit/JSONObjectTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ public void jsonObjectValues() {
520520
@Test
521521
public void stringToValueNumbersTest() {
522522
assertTrue("-0 Should be a Double!",JSONObject.stringToValue("-0") instanceof Double);
523-
assertTrue("-0 Should be a Double!",JSONObject.stringToValue("-0.0") instanceof Double);
523+
assertTrue("-0.0 Should be a Double!",JSONObject.stringToValue("-0.0") instanceof Double);
524524
assertTrue("'-' Should be a String!",JSONObject.stringToValue("-") instanceof String);
525525
assertTrue( "0.2 should be a Double!",
526526
JSONObject.stringToValue( "0.2" ) instanceof Double );

0 commit comments

Comments
 (0)