diff options
Diffstat (limited to 'json-glib/tests/parser-test.c')
-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 8fb11b1..5e5fa48 100644 --- a/json-glib/tests/parser-test.c +++ b/json-glib/tests/parser-test.c @@ -139,7 +139,8 @@ static const struct { "{ \"foo\" : true \"bar\" : false }", JSON_PARSER_ERROR_MISSING_COMMA }, { "[ true, [ false, ] ]", JSON_PARSER_ERROR_TRAILING_COMMA }, { "{ \"foo\" : { \"bar\" : false, } }", JSON_PARSER_ERROR_TRAILING_COMMA }, - { "[ { }, { }, { }, ]", JSON_PARSER_ERROR_TRAILING_COMMA } + { "[ { }, { }, { }, ]", JSON_PARSER_ERROR_TRAILING_COMMA }, + { "{ \"foo\" false }", JSON_PARSER_ERROR_MISSING_COLON } }; static guint n_test_base_values = G_N_ELEMENTS (test_base_values); |