Skip to content

Commit

Permalink
Test document had content to clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitry-Me committed Feb 6, 2015
1 parent 03824c3 commit aaa4cea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xmltest.cpp
Expand Up @@ -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 );
}
Expand Down

0 comments on commit aaa4cea

Please sign in to comment.