summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_parse_doctype.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_parse_doctype.cpp b/tests/test_parse_doctype.cpp
index 646ebbf..901890c 100644
--- a/tests/test_parse_doctype.cpp
+++ b/tests/test_parse_doctype.cpp
@@ -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));