summaryrefslogtreecommitdiffstats
path: root/Tests/FunctionTest/SubDirScope
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FunctionTest/SubDirScope')
-rw-r--r--Tests/FunctionTest/SubDirScope/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tests/FunctionTest/SubDirScope/CMakeLists.txt b/Tests/FunctionTest/SubDirScope/CMakeLists.txt
index c40fadb..c1a3cfb 100644
--- a/Tests/FunctionTest/SubDirScope/CMakeLists.txt
+++ b/Tests/FunctionTest/SubDirScope/CMakeLists.txt
@@ -4,11 +4,11 @@ set(SUBDIR_UNDEFINED PARENT_SCOPE)
# The above sets should not affect the current scope.
if(DEFINED SUBDIR_UNDEFINED)
PASS("SubdirScope Undefine Test" "(${SUBDIR_UNDEFINED})")
-else(DEFINED SUBDIR_UNDEFINED)
+else()
FAILED("SubdirScope Undefine Test" "(${SUBDIR_UNDEFINED})")
-endif(DEFINED SUBDIR_UNDEFINED)
+endif()
if(DEFINED SUBDIR_DEFINED)
FAILED("SubdirScope Define Test" "(${SUBDIR_DEFINED})")
-else(DEFINED SUBDIR_DEFINED)
+else()
PASS("SubdirScope Define Test" "(${SUBDIR_DEFINED})")
-endif(DEFINED SUBDIR_DEFINED)
+endif()