summaryrefslogtreecommitdiff
path: root/tests/test_parse.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-11 22:04:23 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-06-11 22:04:23 +0000
commitf2050e5170e5c49b19ec591a36fcb748bbc0b351 (patch)
treeaeaa8e6ae19411b75acf3591b7b4f483e0772972 /tests/test_parse.cpp
parent12843b2f1b17811a244778c9236fb7bcfb1a9c2e (diff)
tests: Fixed PI test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@514 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_parse.cpp')
-rw-r--r--tests/test_parse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_parse.cpp b/tests/test_parse.cpp
index bfa84c0..9c94687 100644
--- a/tests/test_parse.cpp
+++ b/tests/test_parse.cpp
@@ -67,11 +67,11 @@ TEST(parse_pi_error)
CHECK(doc.load(STR("<?name value ? > "), flags).status == status_bad_pi);
CHECK(doc.load(STR("<?name&"), flags).status == status_bad_pi);
CHECK(doc.load(STR("<?name&?"), flags).status == status_bad_pi);
- CHECK(doc.load(STR("<?name&?>"), flags).status == status_bad_pi);
- CHECK(doc.load(STR("<?name& x?>"), flags).status == status_bad_pi);
}
CHECK(doc.load(STR("<?xx#?>"), parse_minimal | parse_pi).status == status_bad_pi);
+ CHECK(doc.load(STR("<?name&?>"), parse_minimal | parse_pi).status == status_bad_pi);
+ CHECK(doc.load(STR("<?name& x?>"), parse_minimal | parse_pi).status == status_bad_pi);
}
TEST(parse_comments_skip)