From f3c6e30f43c8e9feec891d68cc3eee99c3ef6264 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 8 Nov 2008 23:20:42 +0000 Subject: Port hubbub to new lpu API svn path=/trunk/hubbub/; revision=5656 --- test/tokeniser2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test/tokeniser2.c') diff --git a/test/tokeniser2.c b/test/tokeniser2.c index 3dee590..d033934 100644 --- a/test/tokeniser2.c +++ b/test/tokeniser2.c @@ -141,9 +141,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); -- cgit v1.2.3