summaryrefslogtreecommitdiff
path: root/test/tokeniser.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tokeniser.c')
-rw-r--r--test/tokeniser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tokeniser.c b/test/tokeniser.c
index 913b66f..0614e78 100644
--- a/test/tokeniser.c
+++ b/test/tokeniser.c
@@ -41,8 +41,8 @@ int main(int argc, char **argv)
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);
params.token_handler.handler = token_handler;
params.token_handler.pw = NULL;