diff options
author | Craig Barnes <craigbarnes85@gmail.com> | 2013-05-04 00:20:16 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2013-05-04 10:44:50 +0100 |
commit | d509919a3bc507f3898e2166978462badbaab599 (patch) | |
tree | 2354e485ffe7881b15a3b5fa30e909e4cc6edf82 /test/tokeniser3.c | |
parent | ff31fd617c976832422206a9d36ecd395f45cbaf (diff) | |
download | libhubbub-d509919a3bc507f3898e2166978462badbaab599.tar.gz libhubbub-d509919a3bc507f3898e2166978462badbaab599.tar.bz2 |
Correct various warnings in the test suite
Diffstat (limited to 'test/tokeniser3.c')
-rw-r--r-- | test/tokeniser3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tokeniser3.c b/test/tokeniser3.c index c74c9aa..9f0f84e 100644 --- a/test/tokeniser3.c +++ b/test/tokeniser3.c @@ -147,7 +147,7 @@ void run_test(context *ctx) ctx->last_start_tag); assert(parserutils_inputstream_append(stream, - buf, len - 1) == HUBBUB_OK); + buf, len - 1) == PARSERUTILS_OK); assert(hubbub_tokeniser_run(tok) == HUBBUB_OK); @@ -200,13 +200,13 @@ void run_test(context *ctx) for (j = 0; j < ctx->input_len; j++) { assert(parserutils_inputstream_append(stream, ctx->input + j, 1) == - HUBBUB_OK); + PARSERUTILS_OK); assert(hubbub_tokeniser_run(tok) == HUBBUB_OK); } assert(parserutils_inputstream_append(stream, NULL, 0) == - HUBBUB_OK); + PARSERUTILS_OK); assert(hubbub_tokeniser_run(tok) == HUBBUB_OK); |