From a7a416089d9fb33bf3f6b83adcec106aca6ef691 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Tue, 22 Aug 2017 17:59:32 +0100 Subject: [PATCH] Fix test_utf16_second_attr() to work in UTF-16 builds --- 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 8fc5ee81..1f23cfbe 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -6582,7 +6582,7 @@ START_TEST(test_utf16_second_attr) const char text[] = "<\0d\0 \0a\0=\0'\0\x31\0'\0 \0" "\x04\x0e\x08\x0e=\0'\0\x32\0'\0/\0>\0"; - const XML_Char *expected = "1"; + const XML_Char *expected = XCS("1"); CharData storage; CharData_Init(&storage);