summaryrefslogtreecommitdiff
path: root/test/tokeniser3.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-04 19:03:19 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2010-12-04 19:03:19 +0000
commitef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77 (patch)
treea8bf79d08ed4fa619e836880f499ec8b29165d42 /test/tokeniser3.c
parentdeb36d37e23997aa5352e0a7c2cc99e4a29f0416 (diff)
downloadlibhubbub-ef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77.tar.gz
libhubbub-ef71b3d9674cc97e3a4b8a7cf62ab5ff043a2c77.tar.bz2
Remove init/final and embed entity trie at build time. r=vince
svn path=/trunk/hubbub/; revision=10976
Diffstat (limited to 'test/tokeniser3.c')
-rw-r--r--test/tokeniser3.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/tokeniser3.c b/test/tokeniser3.c
index 70e1e53..8e8795e 100644
--- a/test/tokeniser3.c
+++ b/test/tokeniser3.c
@@ -52,9 +52,6 @@ int main(int argc, char **argv)
return 1;
}
- /* Initialise library */
- assert(hubbub_initialise(argv[1], myrealloc, NULL) == HUBBUB_OK);
-
json = json_object_from_file(argv[2]);
assert(!is_error(json));
@@ -109,8 +106,6 @@ int main(int argc, char **argv)
run_test(&ctx);
}
- assert(hubbub_finalise(myrealloc, NULL) == HUBBUB_OK);
-
printf("PASS\n");
return 0;