Skip to content

Commit 09be7ec

Browse files
lacatoireNickSdot
andauthored
Update ext/gd/tests/gh18243.phpt
Co-authored-by: NickSdot <32384907+NickSdot@users.noreply.github.com>
1 parent 5195afe commit 09be7ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ext/gd/tests/gh18243.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ try {
3737

3838
try {
3939
imagettftext($im, 144115188075855872.0, 0, 15, 60, 0, $font, "");
40-
} catch (\ValueError $e) {
41-
echo $e::class, ': ', $e->getMessage(), PHP_EOL;
40+
} catch (Throwable $e) {
41+
echo $e::class, ': ', $e->getMessage(), "\n";
4242
}
4343
?>
4444
--EXPECTF--

0 commit comments

Comments
 (0)