summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@openedhand.com>2007-10-01 14:57:39 +0100
committerEmmanuele Bassi <ebassi@openedhand.com>2007-10-01 14:57:39 +0100
commit2e362edd46f11f2fd1fa327877372b902b70c280 (patch)
tree5cdf202ed4d6387e0e0d662bdf797a7cb8af854a
parent79423943a8588a8ed6d5bedbc038255111897261 (diff)
downloadjson-glib-2e362edd46f11f2fd1fa327877372b902b70c280.tar.gz
Add more test cases for the object parsing
-rw-r--r--tests/test-03.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test-03.c b/tests/test-03.c
index 129f4c5..cd146bb 100644
--- a/tests/test-03.c
+++ b/tests/test-03.c
@@ -5,6 +5,9 @@
static const gchar *test_objects[] = {
"{ }",
+ "{ \"test\" : 42 }",
+ "{ \"foo\" : \"bar\", \"baz\" : null }",
+ "{ \"array\" : [ false, \"foo\" ], \"test\" : { \"foo\" : true } }"
};
static guint n_test_objects = G_N_ELEMENTS (test_objects);