From 8e85afa406b3519f8751a6bbfd31ce0d8a21c168 Mon Sep 17 00:00:00 2001 From: Sarat Addepalli Date: Tue, 19 May 2015 09:07:03 +0530 Subject: [PATCH] Fix whitespaces in xmltest.cpp --- xmltest.cpp | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/xmltest.cpp b/xmltest.cpp index 597cebb..7a6d866 100644 --- a/xmltest.cpp +++ b/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 = "" - " " - ""; - const char* xml1 = "" - " " - ""; - const char* xml2 = "" - ""; - 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 = "" + " " + ""; + const char* xml1 = "" + " " + ""; + const char* xml2 = "" + ""; + 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 --------------