mirror of
https://github.com/outbackdingo/nDPId.git
synced 2026-01-27 10:19:45 +00:00
added another test of invalid array
This commit is contained in:
@@ -61,6 +61,7 @@ int test_object(void) {
|
||||
int test_array(void) {
|
||||
/* FIXME */
|
||||
/*check(parse("[10}", JSMN_ERROR_INVAL, 3));*/
|
||||
/*check(parse("[1,,3]", JSMN_ERROR_INVAL, 3)*/
|
||||
check(parse("[10]", 2, 2,
|
||||
JSMN_ARRAY, -1, -1, 1,
|
||||
JSMN_PRIMITIVE, "10"));
|
||||
|
||||
Reference in New Issue
Block a user