From: Rhodri James Date: Tue, 22 Aug 2017 14:42:52 +0000 (+0100) Subject: Fix test_nested_groups() to work with UTF-16 X-Git-Tag: R_2_2_5~24^2~79 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe930e74ea12f4b605110905b09d166bc64c15fd;p=libexpat Fix test_nested_groups() to work with UTF-16 --- diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 156608fe..fa8f8a1e 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -4895,7 +4895,7 @@ START_TEST(test_nested_groups) if (_XML_Parse_SINGLE_BYTES(parser, text, strlen(text), XML_TRUE) == XML_STATUS_ERROR) xml_failure(parser); - CharData_CheckString(&storage, "doce"); + CharData_CheckXMLChars(&storage, XCS("doce")); if (dummy_handler_flags != DUMMY_ELEMENT_DECL_HANDLER_FLAG) fail("Element handler not fired"); }