From: Rhodri James Date: Tue, 22 Aug 2017 13:03:08 +0000 (+0100) Subject: Fix test_good_cdata_utf16() to work for UTF-16 builds (ironicly) X-Git-Tag: R_2_2_5~24^2~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cda42d84c906889fc118ea02ec48f42189371c2d;p=libexpat Fix test_good_cdata_utf16() to work for UTF-16 builds (ironicly) --- diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 5eae7a50..4b885538 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -2298,7 +2298,7 @@ START_TEST(test_good_cdata_utf16) " \0e\0n\0c\0o\0d\0i\0n\0g\0=\0'\0u\0t\0f\0-\0""1\0""6\0'" "\0?\0>\0\n" "\0<\0a\0>\0<\0!\0[\0C\0D\0A\0T\0A\0[\0h\0e\0l\0l\0o\0]\0]\0>\0<\0/\0a\0>"; - const char *expected = "hello"; + const XML_Char *expected = XCS("hello"); CharData storage; CharData_Init(&storage);