From 9706d2cdc06098f3f7b5742153678c8eeaa61fb5 Mon Sep 17 00:00:00 2001 From: Lee Thomason Date: Sat, 14 Jan 2023 17:43:38 -0800 Subject: [PATCH] reorder tests --- xmltest.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xmltest.cpp b/xmltest.cpp index be4c7b8..c3ce079 100755 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -2150,11 +2150,11 @@ int main( int argc, const char ** argv ) 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()); - doc.LoadFile( "resources/dream.xml" ); - XMLTest( "Error should be cleared", false, 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() );