diff options
author | Nikita Popov <nikic@php.net> | 2016-07-14 23:22:09 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-07-14 23:22:09 +0200 |
commit | 0b0e7520a9647193e3cae7d64efa6e0c3b0c512d (patch) | |
tree | 6a33cc122009cf955c92a35114a58ad364fa2382 /tests | |
parent | a50a5c1bf1254424406746dfb51203ec6c56ef46 (diff) | |
download | php-git-0b0e7520a9647193e3cae7d64efa6e0c3b0c512d.tar.gz |
Fix test output
The error is now detected earlier, so the message ends up being
different.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/classes/abstract_user_call.phpt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/classes/abstract_user_call.phpt b/tests/classes/abstract_user_call.phpt index 3e88517715..6ce810c836 100644 --- a/tests/classes/abstract_user_call.phpt +++ b/tests/classes/abstract_user_call.phpt @@ -27,7 +27,5 @@ call_user_func(array($o, 'test_base::func')); --EXPECTF-- test::func() -Fatal error: Uncaught Error: Cannot call abstract method test_base::func() in %s:%d -Stack trace: -#0 {main} - thrown in %s on line %d +Warning: call_user_func() expects parameter 1 to be a valid callback, cannot call abstract method test_base::func() in %s on line %d +===DONE=== |