From 4766d7cc4f7e09a152dfd60081fdf8ec65b0635a Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 17 May 2023 08:59:53 -0400 Subject: [PATCH] ext/gd/tests/bug45799.phpt: tweak to work with external gd. The expected output from this test contains an extra newline with gd-2.3.3 from the system (Gentoo). Adding a whitespace wildcard takes care of it, and the test still passes with the bundled version of gd. --- ext/gd/tests/bug45799.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gd/tests/bug45799.phpt b/ext/gd/tests/bug45799.phpt index 1678ada41e887..8576b4d007822 100644 --- a/ext/gd/tests/bug45799.phpt +++ b/ext/gd/tests/bug45799.phpt @@ -9,4 +9,4 @@ imagepng($img); imagedestroy($img); ?> --EXPECTF-- -Warning: imagepng(): gd-png error: no colors in palette in %s on line %d +Warning: imagepng(): gd-png error: no colors in palette%win %s on line %d