From 0b0e7520a9647193e3cae7d64efa6e0c3b0c512d Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 14 Jul 2016 23:22:09 +0200 Subject: [PATCH] Fix test output The error is now detected earlier, so the message ends up being different. --- tests/classes/abstract_user_call.phpt | 6 ++---- 1 file 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=== -- 2.40.0