Explorar el Código

Add to RunCMake.Syntax test comments not separated by spaces

Extend the BracketComment5 test case to cover both bracket comments and
line comments starting immediately after a bracket comment closes.
Brad King hace 12 años
padre
commit
144068e270
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      Tests/RunCMake/Syntax/BracketComment5.cmake

+ 5 - 0
Tests/RunCMake/Syntax/BracketComment5.cmake

@@ -2,5 +2,10 @@
 message(FATAL_ERROR "This is commented out.")
 #]] #[[
 message(FATAL_ERROR "This is commented out.")
+#]]#[[
+message(FATAL_ERROR "This is commented out.")
 #]] #message(FATAL_ERROR "This is commented out.")
+#[[
+message(FATAL_ERROR "This is commented out.")
+#]]#message(FATAL_ERROR "This is commented out.")
 message(STATUS "The above FATAL_ERROR did not occur.")