From cda42d84c906889fc118ea02ec48f42189371c2d Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Tue, 22 Aug 2017 14:03:08 +0100 Subject: [PATCH] Fix test_good_cdata_utf16() to work for UTF-16 builds (ironicly) --- expat/tests/runtests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0