From 9a0400bdbc7d4decb32fe8fa3960e9e77f9fe898 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Fri, 27 Oct 2017 17:22:35 +0200 Subject: Bump the coverage --- src/tests/disabled_functions_param_array.phpt | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/tests/disabled_functions_param_array.phpt') diff --git a/src/tests/disabled_functions_param_array.phpt b/src/tests/disabled_functions_param_array.phpt index 4738745..8fb75e1 100644 --- a/src/tests/disabled_functions_param_array.phpt +++ b/src/tests/disabled_functions_param_array.phpt @@ -11,21 +11,31 @@ function foo($arr) { } $a=Array("a"=>"test1"); foo($a); -$a=Array("a"=>"abcd"); -foo($a); + $a=Array("a"=>"abcde"); foo($a); + +$a=Array("a"=>"abcd"); +foo($a); +/* + $a=Array("bla"=>"abcdef"); foo($a); + $a=Array("bla"=>"aaa", "a"=>"eee" ); foo($a); + $a=Array("test"=>"aaa", "a"=>"fff" ); foo($a); + $a=Array("test2"=>Array("foo"=>Array("lol"=>"bbb")), "a"=>"cccc"); foo($a); + $a=Array("test2"=>Array("foo"=>Array("lol"=>"aaa")), "a"=>"dddd"); foo($a); + */ ?> --EXPECTF-- test1 -[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'foo' in %a/disabled_functions_param_array.php:3 has been disabled, because its argument 'arr' content (Array) matched the rule '1'. \ No newline at end of file +abcde +[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'foo' in %a/disabled_functions_param_array.php:3 has been disabled, because its argument 'arr' content (Array) matched the rule '1'. -- cgit v1.3