diff options
Diffstat (limited to 'test/tokeniser.c')
-rw-r--r-- | test/tokeniser.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/tokeniser.c b/test/tokeniser.c index 77635bc..913b66f 100644 --- a/test/tokeniser.c +++ b/test/tokeniser.c @@ -38,9 +38,8 @@ int main(int argc, char **argv) /* Initialise library */ assert(hubbub_initialise(argv[1], myrealloc, NULL) == HUBBUB_OK); - 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); |