0
0
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:
arseny.kapoulkine 2010-09-20 18:14:58 +00:00
parent 6dc6f8bdc7
commit d35f6751cf

View File

@ -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);
}