tests: Added non top-level declaration test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@516 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
0ed895d79c
commit
1a007d66e6
1 changed files with 1 additions and 0 deletions
|
@ -577,6 +577,7 @@ TEST(parse_declaration_error)
|
|||
}
|
||||
|
||||
CHECK(doc.load(STR("<?xml version='1?>"), parse_minimal | parse_declaration).status == status_bad_attribute);
|
||||
CHECK(doc.load(STR("<foo><?xml version='1'?></foo>"), parse_minimal | parse_declaration).status == status_bad_pi);
|
||||
}
|
||||
|
||||
TEST(parse_empty)
|
||||
|
|
Loading…
Add table
Reference in a new issue