summaryrefslogtreecommitdiff
path: root/test/tokeniser2.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tokeniser2.c')
-rw-r--r--test/tokeniser2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tokeniser2.c b/test/tokeniser2.c
index d033934..59ea72f 100644
--- a/test/tokeniser2.c
+++ b/test/tokeniser2.c
@@ -144,8 +144,8 @@ void run_test(context *ctx)
assert(parserutils_inputstream_create("UTF-8", 0, NULL,
myrealloc, NULL, &stream) == PARSERUTILS_OK);
- tok = hubbub_tokeniser_create(stream, myrealloc, NULL);
- assert(tok != NULL);
+ assert(hubbub_tokeniser_create(stream, myrealloc, NULL, &tok) ==
+ HUBBUB_OK);
if (ctx->last_start_tag != NULL) {
/* Fake up a start tag, in PCDATA state */