Test document had content to clear

This commit is contained in:
Dmitry-Me 2015-02-06 16:00:46 +03:00
parent 03824c305d
commit aaa4ceab5e
1 changed files with 1 additions and 0 deletions

View File

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