Commit 17417150f for imagemagick.org
commit 17417150fa3d21e2b80884a41d5f32f7b4129a32
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Sun Oct 11 16:16:19 2026 +0200
Improved the filter even more.
diff --git a/tests/validate-convert.tap b/tests/validate-convert.tap
index d8e8b18b4..ab57abe49 100755
--- a/tests/validate-convert.tap
+++ b/tests/validate-convert.tap
@@ -21,5 +21,5 @@
echo "1..1"
{ ${VALIDATE} -validate convert && echo "ok" || echo "not ok"; } 2>&1 |
- sed '/^WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"$/d'
+ sed '/^[[:space:]]*WARNING: The convert command is deprecated in IMv7, use "magick" instead of "convert" or "magick convert"[[:space:]]*$/d; /^[[:space:]]*$/d'
: