From 1a007d66e619f0c201efcf7175c2544579c3a8c9 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine" Date: Sat, 12 Jun 2010 07:35:08 +0000 Subject: tests: Added non top-level declaration test git-svn-id: http://pugixml.googlecode.com/svn/trunk@516 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_parse.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_parse.cpp') diff --git a/tests/test_parse.cpp b/tests/test_parse.cpp index 9c94687..7d4958a 100644 --- a/tests/test_parse.cpp +++ b/tests/test_parse.cpp @@ -577,6 +577,7 @@ TEST(parse_declaration_error) } CHECK(doc.load(STR(""), parse_minimal | parse_declaration).status == status_bad_attribute); + CHECK(doc.load(STR(""), parse_minimal | parse_declaration).status == status_bad_pi); } TEST(parse_empty) -- cgit v1.2.3