mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 11:21:38 +00:00
Test document had content to clear
This commit is contained in:
parent
03824c305d
commit
aaa4ceab5e
@ -1168,6 +1168,7 @@ int main( int argc, const char ** argv )
|
|||||||
{
|
{
|
||||||
XMLDocument doc;
|
XMLDocument doc;
|
||||||
doc.LoadFile( "resources/dream.xml" );
|
doc.LoadFile( "resources/dream.xml" );
|
||||||
|
XMLTest( "Document has something to Clear()", doc.NoChildren(), false );
|
||||||
doc.Clear();
|
doc.Clear();
|
||||||
XMLTest( "Document Clear()'s", doc.NoChildren(), true );
|
XMLTest( "Document Clear()'s", doc.NoChildren(), true );
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user