]> granicus.if.org Git - libexpat/commitdiff
Fix test_alloc_realloc_nested_groups() to work in UTF-16 builds
authorRhodri James <rhodri@kynesim.co.uk>
Thu, 24 Aug 2017 14:53:52 +0000 (15:53 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Tue, 29 Aug 2017 21:13:16 +0000 (23:13 +0200)
expat/tests/runtests.c

index 76f152309be2730923492ca8f68bfde0626b82df..11f7894ff968f42cb44ca39a0a36657cc88ddcaf 100644 (file)
@@ -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");
 }