Fix test_entity_in_utf16_be_attr() to work in UTF-16 builds
This commit is contained in:
parent
8780995416
commit
3d96ba9b56
@ -6799,7 +6799,11 @@ START_TEST(test_entity_in_utf16_be_attr)
|
||||
/* <e a='ä ä'></e> */
|
||||
"\0<\0e\0 \0a\0=\0'\0&\0#\0\x32\0\x32\0\x38\0;\0 "
|
||||
"\0&\0#\0x\0\x30\0\x30\0E\0\x34\0;\0'\0>\0<\0/\0e\0>";
|
||||
const XML_Char *expected = "\xc3\xa4 \xc3\xa4";
|
||||
#ifdef XML_UNICODE
|
||||
const XML_Char *expected = XCS("\x00e4 \x00e4");
|
||||
#else
|
||||
const XML_Char *expected = XCS("\xc3\xa4 \xc3\xa4");
|
||||
#endif
|
||||
CharData storage;
|
||||
|
||||
CharData_Init(&storage);
|
||||
|
Loading…
Reference in New Issue
Block a user