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)
This commit is contained in:
Stefan Kangas 2022-09-09 14:19:32 +02:00
parent 0ad028c91f
commit 72c64dd73c

View file

@ -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