mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-27 13:33:17 +08:00
tests: Added default ctor test
git-svn-id: http://pugixml.googlecode.com/svn/trunk@737 99668b35-9821-0410-8761-19e4c4f06640
This commit is contained in:
parent
6dc6f8bdc7
commit
d35f6751cf
@ -755,3 +755,11 @@ TEST(parse_error_offset)
|
||||
CHECK_OFFSET("<no></na>", parse_default, status_end_element_mismatch, 8);
|
||||
CHECK_OFFSET("<no></nod>", parse_default, status_end_element_mismatch, 9);
|
||||
}
|
||||
|
||||
TEST(parse_result_default)
|
||||
{
|
||||
xml_parse_result result;
|
||||
|
||||
CHECK(!result);
|
||||
CHECK(result.status == status_internal_error);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user