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

index 2deb4c0195eefca3a6cce2d6ff714d4724104bdf..679f705a07a7a734ea092aea6f9fbf8d559099ad 100644 (file)
@@ -4821,7 +4821,7 @@ START_TEST(test_predefined_entity_redefinition)
         "<!ENTITY apos 'foo'>\n"
         "]>\n"
         "<doc>&apos;</doc>";
-    run_character_check(text, "'");
+    run_character_check(text, XCS("'"));
 }
 END_TEST