X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=blobdiff_plain;f=test_suite.cfg;h=c3a51262ac3de5b05a18ce1dc8c92f996f8f4131;hp=e82b0e8ea2097396de0ec6f0dd1afbbbe970ad73;hb=e35b4f8879f67fc6452e70d5b61601d7cb7641fe;hpb=1b048bb35d7d8298301843e8d0682e01bc30b392 diff --git a/test_suite.cfg b/test_suite.cfg index e82b0e8..c3a5126 100644 --- a/test_suite.cfg +++ b/test_suite.cfg @@ -188,17 +188,39 @@ define service{ } -Test 27: No multi-line strings. Both lines should be considered - plain text. -"Line one -Line two" - - -Test 28: Comment characters within strings should be ignored, +Test 27: Comment characters within strings should be ignored, that is, treated like strings. "Here comes a #comment" "And the ;second form" -Test 29: Strings within comments should be ignored as well. +Test 28: Strings within comments should be ignored as well. # The "string" should be comment-faced. + + +Test 29: Text between two strings should not be string-faced. +"String1" between "String2" + +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.