From 38166e1f54359871c9aaf63b33b18a4fc88bda35 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Thu, 24 Aug 2017 15:53:52 +0100 Subject: [PATCH] Fix test_alloc_realloc_nested_groups() 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 76f15230..11f7894f 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -9673,7 +9673,7 @@ START_TEST(test_alloc_realloc_nested_groups) fail("Parse succeeded despite failing reallocator"); if (i == max_realloc_count) fail("Parse failed at maximum reallocation count"); - CharData_CheckString(&storage, "doce"); + CharData_CheckXMLChars(&storage, XCS("doce")); if (dummy_handler_flags != DUMMY_ELEMENT_DECL_HANDLER_FLAG) fail("Element handler not fired"); }