]> granicus.if.org Git - libexpat/commitdiff
Fix test_ns_unknown_encoding_success() to work in UTF-16 builds
authorRhodri James <rhodri@kynesim.co.uk>
Tue, 22 Aug 2017 17:41:20 +0000 (18:41 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 29 Aug 2017 21:13:15 +0000 (23:13 +0200)
expat/tests/runtests.c

index a999fcef0a31563a8427bedaea373ff1c99a373d..b6db67ec36e9143d059cd82d8a279cb8ff81a529 100644 (file)
@@ -7705,7 +7705,7 @@ START_TEST(test_ns_unknown_encoding_success)
         "<foo:e xmlns:foo='http://example.org/'>Hi</foo:e>";
 
     XML_SetUnknownEncodingHandler(parser, MiscEncodingHandler, NULL);
-    run_character_check(text, "Hi");
+    run_character_check(text, XCS("Hi"));
 }
 END_TEST