From aaa4ceab5e83c45d5d62b815e045abf14c97ea08 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Fri, 6 Feb 2015 16:00:46 +0300 Subject: [PATCH] Test document had content to clear --- xmltest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/xmltest.cpp b/xmltest.cpp index 79ecf88..c231024 100644 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -1168,6 +1168,7 @@ int main( int argc, const char ** argv ) { XMLDocument doc; doc.LoadFile( "resources/dream.xml" ); + XMLTest( "Document has something to Clear()", doc.NoChildren(), false ); doc.Clear(); XMLTest( "Document Clear()'s", doc.NoChildren(), true ); }