summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/examplefiles/cmake/main.cmake10
-rw-r--r--tests/examplefiles/cmake/main.cmake.output15
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/examplefiles/cmake/main.cmake b/tests/examplefiles/cmake/main.cmake
index 6dfcab10..b600aa66 100644
--- a/tests/examplefiles/cmake/main.cmake
+++ b/tests/examplefiles/cmake/main.cmake
@@ -43,3 +43,13 @@ ANOTHER_COMMAND() # this command has no arguments
YET_ANOTHER_COMMAND( these
arguments are spread # another comment
over several lines )
+
+#[[ multiline
+CMake comment
+]]
+
+#[==[ another multiline
+CMake comment
+]==]
+
+#[==[ #[[ A "nested" comment ]] ]==] \ No newline at end of file
diff --git a/tests/examplefiles/cmake/main.cmake.output b/tests/examplefiles/cmake/main.cmake.output
index 32aa1098..dcd18f31 100644
--- a/tests/examplefiles/cmake/main.cmake.output
+++ b/tests/examplefiles/cmake/main.cmake.output
@@ -405,3 +405,18 @@
' ' Text.Whitespace
')' Punctuation
'\n' Text.Whitespace
+
+'\n' Text.Whitespace
+
+'#[[ multiline\nCMake comment\n]]' Comment
+'\n' Text.Whitespace
+
+'\n' Text.Whitespace
+
+'#[==[ another multiline\nCMake comment\n]==]' Comment
+'\n' Text.Whitespace
+
+'\n' Text.Whitespace
+
+'#[==[ #[[ A "nested" comment ]] ]==]' Comment
+'\n' Text.Whitespace