From e5fb875b593447c33accaf3572c5b7bc662829d7 Mon Sep 17 00:00:00 2001 From: "Serge A. Zaitsev" Date: Sat, 17 Oct 2015 15:19:01 +0200 Subject: added another test of invalid array --- test/tests.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/tests.c b/test/tests.c index 4563d3985..b52a13c5d 100644 --- a/test/tests.c +++ b/test/tests.c @@ -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")); -- cgit v1.2.3