Fix test_utf8_in_cdata_section_2() to work in UTF-16 builds
This commit is contained in:
parent
a507812d34
commit
f7434bd86e
@ -6514,7 +6514,11 @@ END_TEST
|
||||
START_TEST(test_utf8_in_cdata_section_2)
|
||||
{
|
||||
const char *text = "<doc><![CDATA[\xc3\xa9]\xc3\xa9two]]></doc>";
|
||||
const XML_Char *expected = "\xc3\xa9]\xc3\xa9two";
|
||||
#ifdef XML_UNICODE
|
||||
const XML_Char *expected = XCS("\x00e9]\x00e9two");
|
||||
#else
|
||||
const XML_Char *expected = XCS("\xc3\xa9]\xc3\xa9two");
|
||||
#endif
|
||||
|
||||
run_character_check(text, expected);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user