diff options
| author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-02-12 08:54:44 -0800 | 
|---|---|---|
| committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2015-02-12 08:54:44 -0800 | 
| commit | 78353022978140e9c8e21d37509e8137989339c6 (patch) | |
| tree | d8e4968b50a5561f7ceebf8c290bc01d23fec1aa | |
| parent | e94552c9ca883f8c4f2cead24355a60ecba0efb2 (diff) | |
tests: Fix tests for wchar mode
| -rw-r--r-- | tests/test_parse_doctype.cpp | 8 | 
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));  | 
