summaryrefslogtreecommitdiff
path: root/json-glib/tests/parser-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/tests/parser-test.c')
-rw-r--r--json-glib/tests/parser-test.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/json-glib/tests/parser-test.c b/json-glib/tests/parser-test.c
index ffda63a..9227e53 100644
--- a/json-glib/tests/parser-test.c
+++ b/json-glib/tests/parser-test.c
@@ -87,7 +87,26 @@ static const struct {
};
static const gchar *test_nested_objects[] = {
- "{ \"array\" : [ false, \"foo\" ], \"object\" : { \"foo\" : true } }"
+ "{ \"array\" : [ false, \"foo\" ], \"object\" : { \"foo\" : true } }",
+ "{ "
+ "\"type\" : \"ClutterGroup\", "
+ "\"width\" : 1, "
+ "\"children\" : [ "
+ "{ "
+ "\"type\" : \"ClutterRectangle\", "
+ "\"children\" : [ "
+ "{ \"type\" : \"ClutterText\", \"text\" : \"hello there\" }"
+ "] "
+ "}, "
+ "{ "
+ "\"type\" : \"ClutterGroup\", "
+ "\"width\" : 1, "
+ "\"children\" : [ "
+ "{ \"type\" : \"ClutterText\", \"text\" : \"hello\" }"
+ "] "
+ "} "
+ "] "
+ "}"
};
static const struct {