diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_document.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_document.cpp b/tests/test_document.cpp index 34d1ad1..32890e2 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -15,6 +15,12 @@ #include <string>
+TEST(document_create_empty)
+{
+ pugi::xml_document doc;
+ CHECK_NODE(doc, STR(""));
+}
+
TEST(document_create)
{
pugi::xml_document doc;
|