diff options
Diffstat (limited to 'tests/test-parser.c')
| -rw-r--r-- | tests/test-parser.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-parser.c b/tests/test-parser.c index 460b772..04269f0 100644 --- a/tests/test-parser.c +++ b/tests/test-parser.c @@ -56,6 +56,7 @@ static const struct { GType gtype; } test_simple_objects[] = { { "{ \"test\" : 42 }", 1, "test", JSON_NODE_VALUE, G_TYPE_INT64 }, + { "{ \"name\" : \"\", \"state\" : 1 }", 2, "name", JSON_NODE_VALUE, G_TYPE_STRING }, { "{ \"foo\" : \"bar\", \"baz\" : null }", 2, "baz", JSON_NODE_NULL, G_TYPE_INVALID }, { "{ \"channel\" : \"/meta/connect\" }", 1, "channel", JSON_NODE_VALUE, G_TYPE_STRING } }; |
