From 8095117f5471a0aebf383d1d506066729fc63304 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sat, 22 May 2010 19:13:35 +0000 Subject: tests: Minor addition to PI parsing tests git-svn-id: http://pugixml.googlecode.com/svn/trunk@442 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_parse.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test_parse.cpp') diff --git a/tests/test_parse.cpp b/tests/test_parse.cpp index fb0dd23..400942f 100644 --- a/tests/test_parse.cpp +++ b/tests/test_parse.cpp @@ -50,6 +50,10 @@ TEST(parse_pi_error) CHECK(doc.load(STR(""), flags).status == status_bad_pi); + CHECK(doc.load(STR(" "), flags).status == status_bad_pi); } CHECK(doc.load(STR(""), parse_minimal | parse_pi).status == status_bad_pi); -- cgit v1.2.3