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

index ad7d02d7261d3fcd43b085645f396b577c9ab419..48059d5d65ac989f745a00e732ec361e287fcbb3 100644 (file)
@@ -6003,7 +6003,7 @@ START_TEST(test_unknown_ascii_encoding_ok)
         "<doc>Hello, world</doc>";
 
     XML_SetUnknownEncodingHandler(parser, MiscEncodingHandler, NULL);
-    run_character_check(text, "Hello, world");
+    run_character_check(text, XCS("Hello, world"));
 }
 END_TEST