diff options
author | Serge A. Zaitsev <zaitsev.serge@gmail.com> | 2015-10-17 15:19:01 +0200 |
---|---|---|
committer | Serge A. Zaitsev <zaitsev.serge@gmail.com> | 2015-10-17 15:19:01 +0200 |
commit | e5fb875b593447c33accaf3572c5b7bc662829d7 (patch) | |
tree | e512f28183ea89771c8855f55283b4d07ff8053a /test | |
parent | aedc121ce8a5ef0156ee6cb7e06fcd96457220a0 (diff) |
added another test of invalid array
Diffstat (limited to 'test')
-rw-r--r-- | test/tests.c | 1 |
1 files changed, 1 insertions, 0 deletions
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")); |