From: Michael Orlitzky Date: Sat, 21 Aug 2010 05:03:37 +0000 (-0400) Subject: Update the last three tests for semicolon comments. X-Git-Tag: v0.3~2 X-Git-Url: https://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=commitdiff_plain;h=0bb72302ca198a922c09e0a04f87be9cabc2efea Update the last three tests for semicolon comments. --- diff --git a/test_suite.cfg b/test_suite.cfg index c3a5126..adbf551 100644 --- a/test_suite.cfg +++ b/test_suite.cfg @@ -208,11 +208,13 @@ $USER0$ Test 31: Commented opening braces should not cause indentation. # { This line should not be indented. +;{ +Neither should this line. Test 32: Commented closing braces should not close a block. define host { This is indented. - # This is just a comment { + # This is just a comment } So this should be indented too. } But not this. @@ -220,7 +222,7 @@ But not this. Test 33: Double opening/closing braces shouldn't cause things to go haywire. define host {# { - #{}}}}}{}{{}}}{{ + #{}}}}}{}{{}}}{{;{}{}{} Still normal indentation. }#{}}}}}}}{{{{{{{{{{{{{{{ Here too.