Skip to content

Commit

Permalink
Fix test expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
TimWolla committed Apr 15, 2024
1 parent d8b3b28 commit 02ec5a9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Zend/tests/attributes/deprecated/004.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@ function test() {
try {
test();
} catch (ErrorException $e) {
echo $e;
echo "Caught: ", $e->getMessage(), PHP_EOL;
}

?>
--EXPECTF--
ErrorException: Function test() is deprecated, convert to exception in %s:%d
Stack trace:
#0 %s(%d): {closure:%s:%d}(%d, 'Function test()...', '/home/timwolla/...', 12)
#1 {main}
--EXPECT--
Caught: Function test() is deprecated, convert to exception

0 comments on commit 02ec5a9

Please sign in to comment.