From 144068e270a5e99fb6c3e5dbea0eb94d0bd8fd79 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 29 Oct 2013 09:55:43 -0400 Subject: [PATCH] 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. --- Tests/RunCMake/Syntax/BracketComment5.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tests/RunCMake/Syntax/BracketComment5.cmake b/Tests/RunCMake/Syntax/BracketComment5.cmake index bb6d9f318..dc9e6b48d 100644 --- a/Tests/RunCMake/Syntax/BracketComment5.cmake +++ b/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.")