From 449656c68a3d6e0d8b96c36414b475e78b9cc272 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 18 Mar 2010 17:11:11 +0000 Subject: parser-test: Add a case for double parsing in JsonObject --- json-glib/tests/parser-test.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'json-glib/tests/parser-test.c') diff --git a/json-glib/tests/parser-test.c b/json-glib/tests/parser-test.c index 9227e53..8f461ef 100644 --- a/json-glib/tests/parser-test.c +++ b/json-glib/tests/parser-test.c @@ -83,7 +83,8 @@ static const struct { { "{ \"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 } + { "{ \"channel\" : \"/meta/connect\" }", 1, "channel", JSON_NODE_VALUE, G_TYPE_STRING }, + { "{ \"halign\":0.5, \"valign\":0.5 }", 2, "valign", JSON_NODE_VALUE, G_TYPE_DOUBLE } }; static const gchar *test_nested_objects[] = { -- cgit v1.2.1