aboutsummaryrefslogtreecommitdiff
path: root/xmltest.cpp
diff options
context:
space:
mode:
authorLee Thomason <leethomason@gmail.com>2023-01-14 17:43:38 -0800
committerLee Thomason <leethomason@gmail.com>2023-01-14 17:43:38 -0800
commit9706d2cdc06098f3f7b5742153678c8eeaa61fb5 (patch)
tree01d3fea8a45708468c9ef069eb8d141ee644efbe /xmltest.cpp
parent94f52b5cbe5168d13e8706a49ff72e65972a67fd (diff)
downloadtinyxml2-9706d2cdc06098f3f7b5742153678c8eeaa61fb5.tar.gz
reorder tests
Diffstat (limited to 'xmltest.cpp')
-rwxr-xr-xxmltest.cpp8
1 files 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() );