Fix test_ext_entity_utf16_le() to work in UTF-16 builds
This commit is contained in:
parent
12604cfc38
commit
fc02e094d3
@ -6351,11 +6351,15 @@ START_TEST(test_ext_entity_utf16_le)
|
||||
NULL,
|
||||
EE_PARSE_NONE
|
||||
};
|
||||
#ifdef XML_UNICODE
|
||||
const XML_Char *expected = XCS("\x3c00\x6500\x2f00\x3e00");
|
||||
#else
|
||||
const XML_Char *expected =
|
||||
"\xe3\xb0\x80" /* U+3C00 */
|
||||
"\xe6\x94\x80" /* U+6A00 */
|
||||
"\xe2\xbc\x80" /* U+2F00 */
|
||||
"\xe3\xb8\x80"; /* U+3E00 */
|
||||
XCS("\xe3\xb0\x80" /* U+3C00 */
|
||||
"\xe6\x94\x80" /* U+6500 */
|
||||
"\xe2\xbc\x80" /* U+2F00 */
|
||||
"\xe3\xb8\x80"); /* U+3E00 */
|
||||
#endif
|
||||
CharData storage;
|
||||
|
||||
CharData_Init(&storage);
|
||||
|
Loading…
Reference in New Issue
Block a user