From d509919a3bc507f3898e2166978462badbaab599 Mon Sep 17 00:00:00 2001 From: Craig Barnes Date: Sat, 4 May 2013 00:20:16 +0100 Subject: Correct various warnings in the test suite --- test/tokeniser2.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/tokeniser2.c') 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, -- cgit v1.2.3