From: Michael Orlitzky Date: Sat, 21 Aug 2010 03:53:58 +0000 (-0400) Subject: Added three tests for new functionality. X-Git-Tag: v0.3~5 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=e35b4f8879f67fc6452e70d5b61601d7cb7641fe;p=nagios-mode.git Added three tests for new functionality. --- diff --git a/test_suite.cfg b/test_suite.cfg index 71970b2..c3a5126 100644 --- a/test_suite.cfg +++ b/test_suite.cfg @@ -204,3 +204,23 @@ Test 29: Text between two strings should not be string-faced. Test 30: The ARG0 and USER0 macros don't exist. $ARG0$ $USER0$ + +Test 31: Commented opening braces should not cause indentation. +# { +This line should not be indented. + +Test 32: Commented closing braces should not close a block. +define host { + This is indented. + # This is just a comment { + So this should be indented too. +} +But not this. + +Test 33: Double opening/closing braces shouldn't cause things + to go haywire. +define host {# { + #{}}}}}{}{{}}}{{ + Still normal indentation. +}#{}}}}}}}{{{{{{{{{{{{{{{ +Here too.