summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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)