From 32386253b3e285406fc5bc5cbd2567b14a18524f Mon Sep 17 00:00:00 2001 From: Andrew Sidwell Date: Mon, 16 Jun 2008 05:37:06 +0000 Subject: Update the testsuite to match the tokeniser. Also, import new html5lib tests for better coverage. Known issue: the tokeniser test stalls using the testrunner script. svn path=/trunk/hubbub/; revision=4356 --- test/entities.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test/entities.c') diff --git a/test/entities.c b/test/entities.c index e99e6b0..0add0d7 100644 --- a/test/entities.c +++ b/test/entities.c @@ -19,16 +19,16 @@ int main(int argc, char **argv) assert(hubbub_entities_create(myrealloc, NULL) == HUBBUB_OK); - assert(hubbub_entities_search_step('o', &result, &context) == + assert(hubbub_entities_search_step('n', &result, &context) == HUBBUB_NEEDDATA); - assert(hubbub_entities_search_step('r', &result, &context) == - HUBBUB_OK); + assert(hubbub_entities_search_step('o', &result, &context) == + HUBBUB_NEEDDATA); - assert(hubbub_entities_search_step('d', &result, &context) == + assert(hubbub_entities_search_step('t', &result, &context) == HUBBUB_NEEDDATA); - assert(hubbub_entities_search_step('f', &result, &context) == + assert(hubbub_entities_search_step(';', &result, &context) == HUBBUB_OK); assert(hubbub_entities_search_step('z', &result, &context) == -- cgit v1.2.3