diff options
Diffstat (limited to 'Tests/CMakeLib/testXMLParser.cxx')
-rw-r--r-- | Tests/CMakeLib/testXMLParser.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Tests/CMakeLib/testXMLParser.cxx b/Tests/CMakeLib/testXMLParser.cxx index b5219e245b..1fd5113c4d 100644 --- a/Tests/CMakeLib/testXMLParser.cxx +++ b/Tests/CMakeLib/testXMLParser.cxx @@ -4,14 +4,13 @@ #include <iostream> -int testXMLParser(int, char*[]) +int testXMLParser(int, char* []) { // TODO: Derive from parser and check attributes. cmXMLParser parser; - if(!parser.ParseFile(SOURCE_DIR "/testXMLParser.xml")) - { + if (!parser.ParseFile(SOURCE_DIR "/testXMLParser.xml")) { std::cerr << "cmXMLParser failed!" << std::endl; return 1; - } + } return 0; } |