Explorar o código

Fix whitespaces in xmltest.cpp

Sarat Addepalli %!s(int64=10) %!d(string=hai) anos
pai
achega
8e85afa406
Modificáronse 1 ficheiros con 16 adicións e 16 borrados
  1. 16 16
      xmltest.cpp

+ 16 - 16
xmltest.cpp

@@ -1459,24 +1459,24 @@ int main( int argc, const char ** argv )
 		doc.LoadFile( "resources/dream.xml" );
 		XMLTest( "Error should be cleared", false, doc.Error() );
 	}
-	
+
 	{
 		// Check that declarations are parsed only as the FirstChild
-        	const char* xml0 =  	"<?xml version=\"1.0\" ?>"
-        				"   <!-- xml version=\"1.1\" -->"
-        				"<first />";
-        	const char* xml1 =  	"<?xml version=\"1.0\" ?>"
-        				"   <?xml version=\"1.1\" ?>"
-        				"<first />";
-        	const char* xml2 =  	"<first />"
-        				"<?xml version=\"1.0\" ?>";
-        	XMLDocument doc;
-        	doc.Parse(xml0);
-        	XMLTest("Test that the code changes do not affect normal parsing", doc.Error(), false);
-        	doc.Parse(xml1);
-        	XMLTest("Test that the second declaration throws an error", doc.Error(), true);
-        	doc.Parse(xml2);
-        	XMLTest("Test that declaration after a child throws an error", doc.Error(), true);
+                const char* xml0 = "<?xml version=\"1.0\" ?>"
+                                   "   <!-- xml version=\"1.1\" -->"
+                                   "<first />";
+                const char* xml1 = "<?xml version=\"1.0\" ?>"
+                                   "   <?xml version=\"1.1\" ?>"
+                                   "<first />";
+                const char* xml2 = "<first />"
+                                   "<?xml version=\"1.0\" ?>";
+                XMLDocument doc;
+                doc.Parse(xml0);
+                XMLTest("Test that the code changes do not affect normal parsing", doc.Error(), false);
+                doc.Parse(xml1);
+                XMLTest("Test that the second declaration throws an error", doc.Error(), true);
+                doc.Parse(xml2);
+                XMLTest("Test that declaration after a child throws an error", doc.Error(), true);
 	}
 
 	// ----------- Performance tracking --------------