From 72c64dd73c93a92f91431435a0295d748588a4ed Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Fri, 9 Sep 2022 14:19:32 +0200 Subject: [PATCH] Fix SVG loading test for old librsvg 2.40.1 * test/manual/image-tests.el (image-tests-load-image/svg-invalid): Fix test for old librsvg 2.40.1. (Bug#57691) --- test/manual/image-tests.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/manual/image-tests.el b/test/manual/image-tests.el index 9cb98252f6a..c66080cf029 100644 --- a/test/manual/image-tests.el +++ b/test/manual/image-tests.el @@ -88,7 +88,8 @@ "invalid foo bar" :type svg))) (redisplay)) - (should (string-search "XML parse error" (buffer-string)))))) + ;; librsvg error: "... Start tag expected, '<' not found [3 times]" + (should (string-match "[Ee]rror.+Start tag expected" (buffer-string)))))) ;;;; image-test-size -- 2.39.2