0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-27 13:33:17 +08:00

tests: Fix tests for wchar mode

This commit is contained in:
Arseny Kapoulkine 2015-02-12 08:54:44 -08:00
parent e94552c9ca
commit 7835302297

View File

@ -329,7 +329,7 @@ TEST(parse_doctype_stackless_group)
int count = 100000;
str += "<!DOCTYPE ";
str += STR("<!DOCTYPE ");
for (int i = 0; i < count; ++i)
str += STR("<!G ");
@ -337,7 +337,7 @@ TEST(parse_doctype_stackless_group)
for (int j = 0; j < count; ++j)
str += STR(">");
str += ">";
str += STR(">");
xml_document doc;
CHECK(doc.load_string(str.c_str(), parse_fragment));
@ -349,7 +349,7 @@ TEST(parse_doctype_stackless_ignore)
int count = 100000;
str += "<!DOCTYPE ";
str += STR("<!DOCTYPE ");
for (int i = 0; i < count; ++i)
str += STR("<![IGNORE[ ");
@ -357,7 +357,7 @@ TEST(parse_doctype_stackless_ignore)
for (int j = 0; j < count; ++j)
str += STR("]]>");
str += ">";
str += STR(">");
xml_document doc;
CHECK(doc.load_string(str.c_str(), parse_fragment));