summaryrefslogtreecommitdiff
path: root/test/tokeniser3.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/tokeniser3.c')
-rw-r--r--test/tokeniser3.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/tokeniser3.c b/test/tokeniser3.c
index 8febda9..b7ca15e 100644
--- a/test/tokeniser3.c
+++ b/test/tokeniser3.c
@@ -138,9 +138,8 @@ void run_test(context *ctx)
ctx->output_index = 0;
ctx->char_off = 0;
- stream = parserutils_inputstream_create("UTF-8", 0, NULL,
- myrealloc, NULL);
- assert(stream != NULL);
+ assert(parserutils_inputstream_create("UTF-8", 0, NULL,
+ myrealloc, NULL, &stream) == PARSERUTILS_OK);
tok = hubbub_tokeniser_create(stream, myrealloc, NULL);
assert(tok != NULL);