From 32476340c5fd3c76b86487a92fd5c5075342ca99 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 4 Dec 2017 16:09:50 +0100 Subject: Fix the configuration parser wrt. non-matching brackets This validation step is a bit idiotic, but we'll replace it with a proper parser anyway. --- src/tests/broken_regexp.phpt | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tests/broken_regexp.phpt') diff --git a/src/tests/broken_regexp.phpt b/src/tests/broken_regexp.phpt index 3367997..680cf22 100644 --- a/src/tests/broken_regexp.phpt +++ b/src/tests/broken_regexp.phpt @@ -6,4 +6,5 @@ Broken regexp sp.configuration_file={PWD}/config/broken_regexp.ini --FILE-- --EXPECTF-- +[snuffleupagus][0.0.0.0][config][error] You forgot to close 1 bracket in the string '^$[' [snuffleupagus][0.0.0.0][config][error] '.value_r()' is expecting a valid regexp, and not '"^$["' on line 1. -- cgit v1.3