From 048f4b48b727935a6378d8dc74d923a674aa7da1 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sun, 7 Jun 2020 19:58:18 +0200 Subject: Fix a broken test on php nightly Apparently, php is now raising errors for non-existing keys in arrays, so we're now catching the exception to allow the test to be run. --- .../disable_function/disabled_function_super_global_var.phpt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/tests/disable_function/disabled_function_super_global_var.phpt') diff --git a/src/tests/disable_function/disabled_function_super_global_var.phpt b/src/tests/disable_function/disabled_function_super_global_var.phpt index 3aa8ea1..19bb892 100644 --- a/src/tests/disable_function/disabled_function_super_global_var.phpt +++ b/src/tests/disable_function/disabled_function_super_global_var.phpt @@ -9,13 +9,17 @@ bla=test --FILE-- --EXPECTF-- TEST -Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_super_global_var.php on line 3 +Fatal error: [snuffleupagus][0.0.0.0][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_super_global_var.php on line 4 -- cgit v1.3