mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
Fixes typo in assert
This commit is contained in:
parent
bd958e0830
commit
974c09b22a
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ public class JSONObjectTest {
|
|||
@Test
|
||||
public void stringToValueNumbersTest() {
|
||||
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( "0.2 should be a Double!",
|
||||
JSONObject.stringToValue( "0.2" ) instanceof Double );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue