summaryrefslogtreecommitdiff
path: root/test/tokeniser2.c
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2021-05-15 18:48:54 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2021-05-15 19:59:24 +0100
commitc0c4d702b5560c0590d73af4ea055514cab38e4f (patch)
treec136c82a295355e2f912c700ce9dd5c10d5c4cb1 /test/tokeniser2.c
parent243345506ea284242cd2b10844996f37080bde5a (diff)
downloadlibhubbub-c0c4d702b5560c0590d73af4ea055514cab38e4f.tar.gz
libhubbub-c0c4d702b5560c0590d73af4ea055514cab38e4f.tar.bz2
Tests: libjson-c does not provide is_error any more.
Diffstat (limited to 'test/tokeniser2.c')
-rw-r--r--test/tokeniser2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tokeniser2.c b/test/tokeniser2.c
index c8ab9c0..79d84ca 100644
--- a/test/tokeniser2.c
+++ b/test/tokeniser2.c
@@ -48,7 +48,7 @@ int main(int argc, char **argv)
}
json = json_object_from_file(argv[1]);
- assert(!is_error(json));
+ assert(json != NULL);
assert(strcmp((char *) ((json_object_get_object(json)->head)->k),
"tests") == 0);