diff options
| author | jvoisin | 2018-02-05 17:27:45 +0100 |
|---|---|---|
| committer | GitHub | 2018-02-05 17:27:45 +0100 |
| commit | 4cbca117a3f2ef2d6695504970378ec4c483d19f (patch) | |
| tree | 2fe9d10ddf5fdff1c1c0f4cf0cf7cbb16d274e27 /src/tests | |
| parent | f0a956e825a83ff3a58d4714a92fbb945f6c8841 (diff) | |
Compatibility layer for pcre2
This should close #129
Diffstat (limited to 'src/tests')
| -rw-r--r-- | src/tests/broken_conf_config_regexp.phpt | 4 | ||||
| -rw-r--r-- | src/tests/broken_conf_shown_in_phpinfo.phpt | 4 | ||||
| -rw-r--r-- | src/tests/broken_regexp.phpt | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/broken_conf_config_regexp.phpt b/src/tests/broken_conf_config_regexp.phpt index d2a379e..e49788c 100644 --- a/src/tests/broken_conf_config_regexp.phpt +++ b/src/tests/broken_conf_config_regexp.phpt | |||
| @@ -5,6 +5,6 @@ Broken configuration | |||
| 5 | --INI-- | 5 | --INI-- |
| 6 | sp.configuration_file={PWD}/config/broken_config_regexp.ini | 6 | sp.configuration_file={PWD}/config/broken_config_regexp.ini |
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | --EXPECT-- | 8 | --EXPECTF-- |
| 9 | [snuffleupagus][0.0.0.0][config][error] Failed to compile '*.': nothing to repeat on line 1. | 9 | [snuffleupagus][0.0.0.0][config][error] Failed to compile '*.': %aon line 1. |
| 10 | [snuffleupagus][0.0.0.0][config][error] '.filename_r()' is expecting a valid regexp, and not '"*."' on line 1. | 10 | [snuffleupagus][0.0.0.0][config][error] '.filename_r()' is expecting a valid regexp, and not '"*."' on line 1. |
diff --git a/src/tests/broken_conf_shown_in_phpinfo.phpt b/src/tests/broken_conf_shown_in_phpinfo.phpt index 61e9512..5053ee0 100644 --- a/src/tests/broken_conf_shown_in_phpinfo.phpt +++ b/src/tests/broken_conf_shown_in_phpinfo.phpt | |||
| @@ -16,7 +16,7 @@ if (strstr($info, 'Valid config => no') !== FALSE) { | |||
| 16 | echo "lose"; | 16 | echo "lose"; |
| 17 | } | 17 | } |
| 18 | ?> | 18 | ?> |
| 19 | --EXPECT-- | 19 | --EXPECTF-- |
| 20 | [snuffleupagus][0.0.0.0][config][error] Failed to compile '*.': nothing to repeat on line 1. | 20 | [snuffleupagus][0.0.0.0][config][error] Failed to compile '*.': %aon line 1. |
| 21 | [snuffleupagus][0.0.0.0][config][error] '.filename_r()' is expecting a valid regexp, and not '"*."' on line 1. | 21 | [snuffleupagus][0.0.0.0][config][error] '.filename_r()' is expecting a valid regexp, and not '"*."' on line 1. |
| 22 | win | 22 | win |
diff --git a/src/tests/broken_regexp.phpt b/src/tests/broken_regexp.phpt index 3f027f1..7c7ac9c 100644 --- a/src/tests/broken_regexp.phpt +++ b/src/tests/broken_regexp.phpt | |||
| @@ -6,5 +6,5 @@ Broken regexp | |||
| 6 | sp.configuration_file={PWD}/config/broken_regexp.ini | 6 | sp.configuration_file={PWD}/config/broken_regexp.ini |
| 7 | --FILE-- | 7 | --FILE-- |
| 8 | --EXPECTF-- | 8 | --EXPECTF-- |
| 9 | [snuffleupagus][0.0.0.0][config][error] Failed to compile '^$[': missing terminating ] for character class on line 1. | 9 | [snuffleupagus][0.0.0.0][config][error] Failed to compile '^$[': %aon line 1. |
| 10 | [snuffleupagus][0.0.0.0][config][error] '.value_r()' is expecting a valid regexp, and not '"^$["' on line 1. | 10 | [snuffleupagus][0.0.0.0][config][error] '.value_r()' is expecting a valid regexp, and not '"^$["' on line 1. |
