Lee Thomason пре 3 година
родитељ
комит
9706d2cdc0
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      xmltest.cpp

+ 4 - 4
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() );