diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-03-05 19:23:49 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2010-03-05 19:23:49 +0000 |
commit | 88ac0d5111eb528e4c396e4c169ceee4fb046e62 (patch) | |
tree | ce447edd71626253c847b1742feaa22a68400a8b /json-glib/tests | |
parent | c22c1151e418af9506547804d4bc9fddb60bc0f1 (diff) | |
download | json-glib-88ac0d5111eb528e4c396e4c169ceee4fb046e62.tar.gz |
tests: Add another trailing comma invalid test
Diffstat (limited to 'json-glib/tests')
-rw-r--r-- | json-glib/tests/parser-test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/json-glib/tests/parser-test.c b/json-glib/tests/parser-test.c index 2f72d85..ffda63a 100644 --- a/json-glib/tests/parser-test.c +++ b/json-glib/tests/parser-test.c @@ -117,7 +117,8 @@ static const struct { "[ true, ]" }, { "{ \"foo\" : true \"bar\" : false }" }, { "[ true, [ false, ] ]" }, - { "{ \"foo\" : { \"bar\" : false, } }" } + { "{ \"foo\" : { \"bar\" : false, } }" }, + { "[ { }, { }, { }, ]" } }; static guint n_test_base_values = G_N_ELEMENTS (test_base_values); |