summaryrefslogtreecommitdiff
path: root/src/tests/disabled_functions.phpt
diff options
context:
space:
mode:
authorThibault "bui" Koechlin2017-10-18 13:17:46 +0200
committerjvoisin2017-10-18 13:17:46 +0200
commit8f94a1179e9cf9d96f18ec6c851dddbecd54ea6f (patch)
tree970a0cd9f700935e4bd16e73dc630dd3e36554ab /src/tests/disabled_functions.phpt
parentda49f804ad5ae283c10ad757cd39bcc212b66f88 (diff)
.drop() is not a `nop` anymore
`.drop()` is now baillout out, instead of nop'ing the call. This closes #13
Diffstat (limited to 'src/tests/disabled_functions.phpt')
-rw-r--r--src/tests/disabled_functions.phpt8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/tests/disabled_functions.phpt b/src/tests/disabled_functions.phpt
index 1c66ede..de2e4d6 100644
--- a/src/tests/disabled_functions.phpt
+++ b/src/tests/disabled_functions.phpt
@@ -13,9 +13,5 @@ var_dump("this is a super test");
13echo strpos("pouet", "o"); 13echo strpos("pouet", "o");
14?> 14?>
15--EXPECTF-- 15--EXPECTF--
16[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'system' in %a/tests/disabled_functions.php:%d has been disabled. 16[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'system' in %a/tests/disabled_functions.php:2 has been disabled.
17[snuffleupagus][0.0.0.0][disabled_function][simulation] The call to the function 'printf' in %a/tests/disabled_functions.php:%d has been disabled. 17
18printf in simulation mode
19print in disabled mode
20[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'var_dump' in %a/tests/disabled_functions.php:%d has been disabled.
211