summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Sidwell <andy@entai.co.uk>2008-08-02 02:19:01 +0000
committerAndrew Sidwell <andy@entai.co.uk>2008-08-02 02:19:01 +0000
commit6228480959a21db776dcd04684f427942e83bc42 (patch)
tree5e3f1240fa9d91037899c930a7827f381413304c /test
parent0b9f5112b7caf1dfa8051252d6d4346d2f67a51c (diff)
downloadlibhubbub-6228480959a21db776dcd04684f427942e83bc42.tar.gz
libhubbub-6228480959a21db776dcd04684f427942e83bc42.tar.bz2
Stop pretending Hubbub has an internal encoding.
svn path=/trunk/hubbub/; revision=4859
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;