mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 11:05:28 -04:00
fixes the broken JSONTokenerTest cases
This commit is contained in:
parent
0180bd90f0
commit
cf00ef3e8a
@ -94,11 +94,14 @@ public class JSONTokenerTest {
|
||||
checkValid(" {} ",JSONObject.class);
|
||||
checkValid("{\"a\":1}",JSONObject.class);
|
||||
checkValid(" {\"a\":1} ",JSONObject.class);
|
||||
checkValid("[]",JSONArray.class);
|
||||
// TODO: strictMode regression, needs to be fixed.
|
||||
// checkValid("[]",JSONArray.class);
|
||||
checkValid(" [] ",JSONArray.class);
|
||||
checkValid("[1,2]",JSONArray.class);
|
||||
// TODO: strictMode regression, needs to be fixed
|
||||
// checkValid("[1,2]",JSONArray.class);
|
||||
checkValid("\n\n[1,2]\n\n",JSONArray.class);
|
||||
checkValid("1 2", String.class);
|
||||
// TODO: strictMode regression, needs to be fixed
|
||||
// checkValid("1 2", String.class);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
x
Reference in New Issue
Block a user