summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/parser.c2
-rw-r--r--test/tree.c2
-rw-r--r--test/tree2.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/test/parser.c b/test/parser.c
index ba8dd31..63e39ff 100644
--- a/test/parser.c
+++ b/test/parser.c
@@ -38,7 +38,7 @@ int main(int argc, char **argv)
/* Initialise library */
assert(hubbub_initialise(argv[1], myrealloc, NULL) == HUBBUB_OK);
- parser = hubbub_parser_create("UTF-8", "UTF-8", myrealloc, NULL);
+ parser = hubbub_parser_create("UTF-8", myrealloc, NULL);
assert(parser != NULL);
params.token_handler.handler = token_handler;
diff --git a/test/tree.c b/test/tree.c
index ae947a0..ff8f49a 100644
--- a/test/tree.c
+++ b/test/tree.c
@@ -103,7 +103,7 @@ int main(int argc, char **argv)
/* Initialise library */
assert(hubbub_initialise(argv[1], myrealloc, NULL) == HUBBUB_OK);
- parser = hubbub_parser_create("UTF-8", "UTF-8", myrealloc, NULL);
+ parser = hubbub_parser_create("UTF-8", myrealloc, NULL);
assert(parser != NULL);
params.tree_handler = &tree_handler;
diff --git a/test/tree2.c b/test/tree2.c
index 0f181ef..62efb46 100644
--- a/test/tree2.c
+++ b/test/tree2.c
@@ -144,7 +144,7 @@ static hubbub_parser *setup_parser(void)
hubbub_parser *parser;
hubbub_parser_optparams params;
- parser = hubbub_parser_create("UTF-8", "UTF-8", myrealloc, NULL);
+ parser = hubbub_parser_create("UTF-8", myrealloc, NULL);
assert(parser != NULL);
params.tree_handler = &tree_handler;