diff options
| author | Emmanuele Bassi <ebassi@openedhand.com> | 2007-10-01 14:57:39 +0100 |
|---|---|---|
| committer | Emmanuele Bassi <ebassi@openedhand.com> | 2007-10-01 14:57:39 +0100 |
| commit | 2e362edd46f11f2fd1fa327877372b902b70c280 (patch) | |
| tree | 5cdf202ed4d6387e0e0d662bdf797a7cb8af854a | |
| parent | 79423943a8588a8ed6d5bedbc038255111897261 (diff) | |
| download | json-glib-2e362edd46f11f2fd1fa327877372b902b70c280.tar.gz | |
Add more test cases for the object parsing
| -rw-r--r-- | tests/test-03.c | 3 |
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); |
