summaryrefslogtreecommitdiff
path: root/json-glib/tests
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@linux.intel.com>2010-03-05 19:23:49 +0000
committerEmmanuele Bassi <ebassi@linux.intel.com>2010-03-05 19:23:49 +0000
commit88ac0d5111eb528e4c396e4c169ceee4fb046e62 (patch)
treece447edd71626253c847b1742feaa22a68400a8b /json-glib/tests
parentc22c1151e418af9506547804d4bc9fddb60bc0f1 (diff)
downloadjson-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.c3
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);