X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=blobdiff_plain;f=test_suite.cfg;h=adbf5519eafe2fa70fb21dc00dc2fb59605578b1;hp=71df8a3f86eb3547d7a4eb2f0bd510dd06ee634d;hb=8c2b428ac0a58522c798e51a74838b4f91204ef0;hpb=f5456f838c2441f40a58d34515fa4bd389bc2259 diff --git a/test_suite.cfg b/test_suite.cfg index 71df8a3..adbf551 100644 --- a/test_suite.cfg +++ b/test_suite.cfg @@ -200,3 +200,29 @@ Test 28: Strings within comments should be ignored as well. 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. +;{ +Neither should this line. + +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.