diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-09 17:40:40 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2008-11-09 17:40:40 +0000 |
commit | 9c6e96d743c993f1b92f0cc2f07164d44780536e (patch) | |
tree | 9067578eeb652fd998ddc5462b7ff8c7fb8abd57 /test/tokeniser3.c | |
parent | 6c0e77c643e96436d85aebb9195c83cb403c25fa (diff) | |
download | libhubbub-9c6e96d743c993f1b92f0cc2f07164d44780536e.tar.gz libhubbub-9c6e96d743c993f1b92f0cc2f07164d44780536e.tar.bz2 |
Return errors from tokeniser constructor/destructor
svn path=/trunk/hubbub/; revision=5664
Diffstat (limited to 'test/tokeniser3.c')
-rw-r--r-- | test/tokeniser3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tokeniser3.c b/test/tokeniser3.c index b7ca15e..95a5cbc 100644 --- a/test/tokeniser3.c +++ b/test/tokeniser3.c @@ -141,8 +141,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 */ |