diff options
Diffstat (limited to 'Tests/RunCMake/Syntax')
| -rw-r--r-- | Tests/RunCMake/Syntax/.gitattributes | 3 | ||||
| -rw-r--r-- | Tests/RunCMake/Syntax/BracketCRLF.cmake | 16 | ||||
| -rw-r--r-- | Tests/RunCMake/Syntax/StringCRLF.cmake | 12 |
3 files changed, 14 insertions, 17 deletions
diff --git a/Tests/RunCMake/Syntax/.gitattributes b/Tests/RunCMake/Syntax/.gitattributes deleted file mode 100644 index 79af285847..0000000000 --- a/Tests/RunCMake/Syntax/.gitattributes +++ /dev/null @@ -1,3 +0,0 @@ -CommandTabs.cmake whitespace=-tab-in-indent -StringCRLF.cmake eol=crlf -BracketCRLF.cmake eol=crlf diff --git a/Tests/RunCMake/Syntax/BracketCRLF.cmake b/Tests/RunCMake/Syntax/BracketCRLF.cmake index 2ea6df2fd5..bda0e17efd 100644 --- a/Tests/RunCMake/Syntax/BracketCRLF.cmake +++ b/Tests/RunCMake/Syntax/BracketCRLF.cmake @@ -1,8 +1,8 @@ -if([[ -]] STREQUAL "" AND -[[a -b]] STREQUAL "a\nb") - message("CRLF->LF worked") -else() - message(FATAL_ERROR "CRLF->LF failed") -endif() +if([[
+]] STREQUAL "" AND
+[[a
+b]] STREQUAL "a\nb")
+ message("CRLF->LF worked")
+else()
+ message(FATAL_ERROR "CRLF->LF failed")
+endif()
diff --git a/Tests/RunCMake/Syntax/StringCRLF.cmake b/Tests/RunCMake/Syntax/StringCRLF.cmake index 14aad31a23..d20cfea7e4 100644 --- a/Tests/RunCMake/Syntax/StringCRLF.cmake +++ b/Tests/RunCMake/Syntax/StringCRLF.cmake @@ -1,6 +1,6 @@ -if("a -b" STREQUAL "a\nb") - message("CRLF->LF worked") -else() - message(FATAL_ERROR "CRLF->LF failed") -endif() +if("a
+b" STREQUAL "a\nb")
+ message("CRLF->LF worked")
+else()
+ message(FATAL_ERROR "CRLF->LF failed")
+endif()
|
