mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-05 20:35:37 -04:00
Fixes typo in assert
This commit is contained in:
parent
bd958e0830
commit
974c09b22a
@ -520,7 +520,7 @@ public class JSONObjectTest {
|
|||||||
@Test
|
@Test
|
||||||
public void stringToValueNumbersTest() {
|
public void stringToValueNumbersTest() {
|
||||||
assertTrue("-0 Should be a Double!",JSONObject.stringToValue("-0") instanceof Double);
|
assertTrue("-0 Should be a Double!",JSONObject.stringToValue("-0") instanceof Double);
|
||||||
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);
|
||||||
assertTrue("'-' Should be a String!",JSONObject.stringToValue("-") instanceof String);
|
assertTrue("'-' Should be a String!",JSONObject.stringToValue("-") instanceof String);
|
||||||
assertTrue( "0.2 should be a Double!",
|
assertTrue( "0.2 should be a Double!",
|
||||||
JSONObject.stringToValue( "0.2" ) instanceof Double );
|
JSONObject.stringToValue( "0.2" ) instanceof Double );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user