From: Michael Orlitzky Date: Mon, 16 Feb 2009 04:25:45 +0000 (-0500) Subject: Added three new tests for multiline strings and nested strings/commnents. X-Git-Tag: v0.1~17 X-Git-Url: https://gitweb.michael.orlitzky.com/?p=nagios-mode.git;a=commitdiff_plain;h=1b048bb35d7d8298301843e8d0682e01bc30b392 Added three new tests for multiline strings and nested strings/commnents. --- diff --git a/test_suite.cfg b/test_suite.cfg index 478287a..e82b0e8 100644 --- a/test_suite.cfg +++ b/test_suite.cfg @@ -186,3 +186,19 @@ Test 26: Definitions that, define service{ use whatever } + + +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, + that is, treated like strings. +"Here comes a #comment" +"And the ;second form" + + +Test 29: Strings within comments should be ignored as well. +# The "string" should be comment-faced.