]> granicus.if.org Git - libexpat/commitdiff
Fix test_not_standalone_handler_accept() to work in UTF-16 builds
authorRhodri James <rhodri@kynesim.co.uk>
Thu, 24 Aug 2017 12:31:55 +0000 (13:31 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 29 Aug 2017 21:13:13 +0000 (23:13 +0200)
expat/tests/runtests.c

index 65fe357da158e996865cbadbd2499d217cf49a27..dcba70fe5355f9154c898e8d7fe87b6b33d7523d 100644 (file)
@@ -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