Fix test_alloc_dtd_default_handling() to work in UTF-16 builds

This commit is contained in:
Rhodri James 2017-08-23 11:43:40 +01:00 committed by Sebastian Pipping
parent 84c40c5e61
commit b22dc0b44d

View File

@ -8742,7 +8742,7 @@ START_TEST(test_alloc_dtd_default_handling)
"<!--comment in dtd-->\n"
"]>\n"
"<doc><![CDATA[text in doc]]></doc>";
const char *expected = "\n\n\n\n\n\n\n\n\n<doc>text in doc</doc>";
const XML_Char *expected = XCS("\n\n\n\n\n\n\n\n\n<doc>text in doc</doc>");
CharData storage;
int i;
const int max_alloc_count = 25;