From 2d29ee5ddedaf43ee1ee2e476810bbba06bf177e Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Tue, 6 Sep 2022 12:56:51 +0200 Subject: [PATCH] Fix interactive image.c tests * test/src/image-tests.el (image-tests-image-metadata/gif) (image-tests-image-metadata/webp): Fix tests. --- test/src/image-tests.el | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/test/src/image-tests.el b/test/src/image-tests.el index 36278f4b9fa..c05582ada75 100644 --- a/test/src/image-tests.el +++ b/test/src/image-tests.el @@ -187,8 +187,9 @@ (ert-deftest image-tests-image-metadata/gif () (image-skip-unless 'gif) - (should-not (image-metadata - (create-image (cdr (assq 'gif image-tests--images)))))) + (should (memq 'delay + (image-metadata + (create-image (cdr (assq 'gif image-tests--images))))))) (ert-deftest image-tests-image-metadata/jpeg () (image-skip-unless 'jpeg) @@ -214,8 +215,9 @@ (ert-deftest image-tests-image-metadata/webp () (image-skip-unless 'webp) - (should-not (image-metadata - (create-image (cdr (assq 'webp image-tests--images)))))) + (should (memq 'delay + (image-metadata + (create-image (cdr (assq 'webp image-tests--images))))))) (ert-deftest image-tests-image-metadata/xbm () (image-skip-unless 'xbm) -- 2.39.2