diff options
Diffstat (limited to 'tests/test_parse.cpp')
-rw-r--r-- | tests/test_parse.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_parse.cpp b/tests/test_parse.cpp index 321b84c..1b1e807 100644 --- a/tests/test_parse.cpp +++ b/tests/test_parse.cpp @@ -863,6 +863,7 @@ TEST(parse_declaration_error) TEST(parse_empty) { xml_document doc; + CHECK(doc.load_string(STR("")).status == status_no_document_element && !doc.first_child()); CHECK(doc.load_string(STR(""), parse_fragment) && !doc.first_child()); } |