summaryrefslogtreecommitdiff
path: root/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt
diff options
context:
space:
mode:
authorjvoisin2023-04-29 16:46:02 +0200
committerjvoisin2023-04-29 16:46:02 +0200
commitcee55351d6c2865447e72d9e3e8ba5922647162d (patch)
tree8172322ef3cb9560611b00e3addf8ce89d51053a /src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt
parent8532f01c7f3c356fbb2dda593477d3902491de77 (diff)
Improve how the parser is generated
- use long variant of options for re2c in its makefile - use `define` instead of magic numbers - add some consts - trailing `;` are now mandatory for conditions - NULL bytes are no longer allowed in configuration file - the parser shouldn't crash in the absence of trailing new line at the end of its configuration file
Diffstat (limited to 'src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt')
-rw-r--r--src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt b/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt
index b999e7e..006e31d 100644
--- a/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt
+++ b/src/tests/broken_configuration/broken_conf_allow_broken_enabled.phpt
@@ -11,5 +11,5 @@ error_log=/dev/null
11echo 1337; 11echo 1337;
12?> 12?>
13--EXPECT-- 13--EXPECT--
14Fatal error: [snuffleupagus][0.0.0.0][config][log] Parser error on line 1 in Unknown on line 0 14Fatal error: [snuffleupagus][0.0.0.0][config][log] parser error on line 1 in Unknown on line 0
151337 151337