From: Rhodri James Date: Thu, 24 Aug 2017 12:31:55 +0000 (+0100) Subject: Fix test_not_standalone_handler_accept() to work in UTF-16 builds X-Git-Tag: R_2_2_5~24^2~107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d550ca2dc5461b851c4f29e38dd538de3d1d49db;p=libexpat Fix test_not_standalone_handler_accept() to work in UTF-16 builds --- diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 65fe357d..dcba70fe 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -1884,7 +1884,7 @@ START_TEST(test_not_standalone_handler_accept) /* Repeat wtihout the external entity handler */ XML_ParserReset(parser, NULL); XML_SetNotStandaloneHandler(parser, accept_not_standalone_handler); - run_character_check(text, ""); + run_character_check(text, XCS("")); } END_TEST