reorder tests

This commit is contained in:
Lee Thomason
2023-01-14 17:43:38 -08:00
parent 94f52b5cbe
commit 9706d2cdc0

View File

@@ -2150,11 +2150,11 @@ int main( int argc, const char ** argv )
doc.LoadFile( "resources/no-such-file.xml" ); doc.LoadFile( "resources/no-such-file.xml" );
XMLTest( "No such file - should fail", true, doc.Error() ); XMLTest( "No such file - should fail", true, doc.Error() );
doc.LoadFile( "resources/xmltest-5330.xml" ); doc.LoadFile("resources/dream.xml");
XMLTest( "parse errors occur - should fail", true, doc.Error() ); XMLTest("Error should be cleared", false, doc.Error());
doc.LoadFile( "resources/dream.xml" ); doc.LoadFile( "resources/xmltest-5330.xml" );
XMLTest( "Error should be cleared", false, doc.Error() ); XMLTest( "parse errors occur - should fail", true, doc.Error() );
doc.LoadFile( "resources/dream.xml" ); doc.LoadFile( "resources/dream.xml" );
XMLTest( "Error should be cleared", false, doc.Error() ); XMLTest( "Error should be cleared", false, doc.Error() );