From: Rhodri James Date: Tue, 22 Aug 2017 12:37:10 +0000 (+0100) Subject: Fix test_not_standalone_handler_accept() to work for UTF-16 X-Git-Tag: R_2_2_5~24^2~106 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=388219c03a09bf9303e85792791498f63d033a50;p=libexpat Fix test_not_standalone_handler_accept() to work for UTF-16 --- diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index dcba70fe..6d3698ce 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -1879,7 +1879,7 @@ START_TEST(test_not_standalone_handler_accept) XML_SetParamEntityParsing(parser, XML_PARAM_ENTITY_PARSING_ALWAYS); XML_SetExternalEntityRefHandler(parser, external_entity_loader); XML_SetNotStandaloneHandler(parser, accept_not_standalone_handler); - run_ext_character_check(text, &test_data, ""); + run_ext_character_check(text, &test_data, XCS("")); /* Repeat wtihout the external entity handler */ XML_ParserReset(parser, NULL);