summaryrefslogtreecommitdiff
path: root/Tests/CMakeLib/testSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/CMakeLib/testSystemTools.cxx')
-rw-r--r--Tests/CMakeLib/testSystemTools.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/Tests/CMakeLib/testSystemTools.cxx b/Tests/CMakeLib/testSystemTools.cxx
index 9309ae3322..a3846c00a0 100644
--- a/Tests/CMakeLib/testSystemTools.cxx
+++ b/Tests/CMakeLib/testSystemTools.cxx
@@ -12,22 +12,21 @@
#include "cmSystemTools.h"
#define cmPassed(m) std::cout << "Passed: " << m << "\n"
-#define cmFailed(m) std::cout << "FAILED: " << m << "\n"; failed=1
+#define cmFailed(m) \
+ std::cout << "FAILED: " << m << "\n"; \
+ failed = 1
-int testSystemTools(int, char*[])
+int testSystemTools(int, char* [])
{
int failed = 0;
// ----------------------------------------------------------------------
// Test cmSystemTools::UpperCase
std::string str = "abc";
std::string strupper = "ABC";
- if(cmSystemTools::UpperCase(str) == strupper)
- {
+ if (cmSystemTools::UpperCase(str) == strupper) {
cmPassed("cmSystemTools::UpperCase is working");
- }
- else
- {
+ } else {
cmFailed("cmSystemTools::UpperCase is working");
- }
+ }
return failed;
}