summaryrefslogtreecommitdiff
path: root/json-glib/tests
diff options
context:
space:
mode:
Diffstat (limited to 'json-glib/tests')
-rw-r--r--json-glib/tests/node-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/tests/node-test.c b/json-glib/tests/node-test.c
index 7c0336d..da979a4 100644
--- a/json-glib/tests/node-test.c
+++ b/json-glib/tests/node-test.c
@@ -60,7 +60,7 @@ test_null (void)
{
JsonNode *node = json_node_new (JSON_NODE_NULL);
- g_assert_cmpint (json_node_get_node_type (node), ==, JSON_NODE_NULL);
+ g_assert (JSON_NODE_HOLDS_NULL (node));
g_assert_cmpint (json_node_get_value_type (node), ==, G_TYPE_INVALID);
g_assert_cmpstr (json_node_type_name (node), ==, "NULL");