From: Rhodri James Date: Tue, 22 Aug 2017 13:05:10 +0000 (+0100) Subject: Fix test_good_cdata_utf16_le() to work for UTF-16 builds X-Git-Tag: R_2_2_5~24^2~101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18ccc4b65af4b79d9093f443ad4138382fe6656b;p=libexpat Fix test_good_cdata_utf16_le() to work for UTF-16 builds --- diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 4b885538..766e5ffb 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -2323,7 +2323,7 @@ START_TEST(test_good_cdata_utf16_le) " \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>\0"; - const char *expected = "hello"; + const XML_Char *expected = XCS("hello"); CharData storage; CharData_Init(&storage);