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/tokeniser2.c | |
parent | ff31fd617c976832422206a9d36ecd395f45cbaf (diff) | |
download | libhubbub-d509919a3bc507f3898e2166978462badbaab599.tar.gz libhubbub-d509919a3bc507f3898e2166978462badbaab599.tar.bz2 |
Correct various warnings in the test suite
Diffstat (limited to 'test/tokeniser2.c')
-rw-r--r-- | test/tokeniser2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tokeniser2.c b/test/tokeniser2.c index 780c646..443b71d 100644 --- a/test/tokeniser2.c +++ b/test/tokeniser2.c @@ -149,7 +149,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); @@ -196,10 +196,10 @@ void run_test(context *ctx) ¶ms) == HUBBUB_OK); assert(parserutils_inputstream_append(stream, - ctx->input, ctx->input_len) == HUBBUB_OK); + ctx->input, ctx->input_len) == PARSERUTILS_OK); assert(parserutils_inputstream_append(stream, NULL, 0) == - HUBBUB_OK); + PARSERUTILS_OK); printf("Input: '%.*s' (%d)\n", (int) ctx->input_len, (const char *) ctx->input, |