mirror of
https://github.com/leethomason/tinyxml2.git
synced 2026-07-21 19:23:00 +04:00
fix assertion - Assertion '_elementPool.CurrentAllocs() == _elementPool.Untracked()' failed.
This commit is contained in:
+2
-2
@@ -2147,8 +2147,8 @@ int main( int argc, const char ** argv )
|
||||
// successful loads should clear the error
|
||||
XMLDocument doc;
|
||||
XMLTest( "Should be no error initially", false, doc.Error() );
|
||||
doc.LoadFile( "resources/no-such-file.xml" );
|
||||
XMLTest( "No such file - should fail", true, doc.Error() );
|
||||
doc.LoadFile( "resources/xmltest-5330.xml" );
|
||||
XMLTest( "parse errors occur - should fail", true, doc.Error() );
|
||||
|
||||
doc.LoadFile( "resources/dream.xml" );
|
||||
XMLTest( "Error should be cleared", false, doc.Error() );
|
||||
|
||||
Reference in New Issue
Block a user