X-Git-Url: http://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=blobdiff_plain;f=test_suite.cfg;h=adbf5519eafe2fa70fb21dc00dc2fb59605578b1;hp=71970b23a7e3d5e0ae51322675bb3e19d96a411e;hb=8c2b428ac0a58522c798e51a74838b4f91204ef0;hpb=d2d16ab8ef70c5ad90e8bd07b939d80246880174 diff --git a/test_suite.cfg b/test_suite.cfg index 71970b2..adbf551 100644 --- a/test_suite.cfg +++ b/test_suite.cfg @@ -204,3 +204,25 @@ 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. +;{ +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.