diff options
| author | Stefan Kangas | 2022-09-13 11:06:11 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2022-09-13 11:06:40 +0200 |
| commit | 89199f16aef2b1a2e79f22dddd7322f9f4fdd1fc (patch) | |
| tree | e18fcaf6dfa6b03859ef4f2c404016efb5d4abaf | |
| parent | 16d6ef13c27805781e6c2b43672d911ed9dfdc66 (diff) | |
| download | emacs-89199f16aef2b1a2e79f22dddd7322f9f4fdd1fc.tar.gz emacs-89199f16aef2b1a2e79f22dddd7322f9f4fdd1fc.zip | |
; Fix last change in test/manual/image-tests.el
* test/manual/image-tests.el (image-skip-unless):
(image-tests-image-metadata/gif): Fix last change.
| -rw-r--r-- | test/manual/image-tests.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/manual/image-tests.el b/test/manual/image-tests.el index f867047d08e..7f1eab9512e 100644 --- a/test/manual/image-tests.el +++ b/test/manual/image-tests.el | |||
| @@ -32,9 +32,9 @@ | |||
| 32 | ;;; Code: | 32 | ;;; Code: |
| 33 | 33 | ||
| 34 | (defmacro image-skip-unless (format &rest condition) | 34 | (defmacro image-skip-unless (format &rest condition) |
| 35 | `(skip-unless (or (and (display-images-p) | 35 | `(skip-unless (and (and (display-images-p) |
| 36 | (image-type-available-p ,format)) | 36 | (image-type-available-p ,format)) |
| 37 | ,@condition))) | 37 | ,@condition))) |
| 38 | 38 | ||
| 39 | (defconst image-tests--images | 39 | (defconst image-tests--images |
| 40 | `((gif . ,(expand-file-name "test/data/image/black.gif" | 40 | `((gif . ,(expand-file-name "test/data/image/black.gif" |
| @@ -222,7 +222,8 @@ | |||
| 222 | ;; contain metadata. | 222 | ;; contain metadata. |
| 223 | 223 | ||
| 224 | (ert-deftest image-tests-image-metadata/gif () | 224 | (ert-deftest image-tests-image-metadata/gif () |
| 225 | (image-skip-unless 'gif (not w32-use-native-image-API)) | 225 | (image-skip-unless 'gif |
| 226 | (not (bound-and-true-p w32-use-native-image-API))) | ||
| 226 | (should (memq 'delay | 227 | (should (memq 'delay |
| 227 | (image-metadata | 228 | (image-metadata |
| 228 | (create-image (cdr (assq 'gif image-tests--images))))))) | 229 | (create-image (cdr (assq 'gif image-tests--images))))))) |