From 50427626391fc22ccfd7e6cadb4f72840c5e5532 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Tue, 22 Aug 2017 18:41:20 +0100 Subject: [PATCH] Fix test_ns_unknown_encoding_success() 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 a999fcef..b6db67ec 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -7705,7 +7705,7 @@ START_TEST(test_ns_unknown_encoding_success) "Hi"; XML_SetUnknownEncodingHandler(parser, MiscEncodingHandler, NULL); - run_character_check(text, "Hi"); + run_character_check(text, XCS("Hi")); } END_TEST