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

index afee4708d37d68b866a25aaafb5adb1768a7af06..8fc5ee81f8375dd4dbadf812b2bb59686c3802b0 100644 (file)
@@ -6560,7 +6560,7 @@ START_TEST(test_utf16_attribute)
          * and   {CHO CHAN}  = U+0E08 = 0xe0 0xb8 0x88 in UTF-8
          */
         "<\0d\0 \0\x04\x0e\x08\x0e=\0'\0a\0'\0/\0>\0";
-    const XML_Char *expected = "a";
+    const XML_Char *expected = XCS("a");
     CharData storage;
 
     CharData_Init(&storage);