summaryrefslogtreecommitdiff
path: root/tests/test-01.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-01.c')
-rw-r--r--tests/test-01.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-01.c b/tests/test-01.c
index c530aa9..543803e 100644
--- a/tests/test-01.c
+++ b/tests/test-01.c
@@ -23,7 +23,7 @@ main (int argc, char *argv[])
return EXIT_FAILURE;
}
- g_assert (NULL == json_parser_get_toplevels (parser));
+ g_assert (NULL == json_parser_get_root (parser));
g_object_unref (parser);