diff options
Diffstat (limited to 'test/lisp/image-tests.el')
-rw-r--r-- | test/lisp/image-tests.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/lisp/image-tests.el b/test/lisp/image-tests.el index 2f7afa2f38e..aa8600609c4 100644 --- a/test/lisp/image-tests.el +++ b/test/lisp/image-tests.el @@ -57,8 +57,9 @@ (should (eq (image-type-from-file-name "foo.png") 'png))) (ert-deftest image-type/from-filename () - ;; On emba, `image-load-path' does not exist. - (skip-unless (bound-and-true-p image-load-path)) + ;; On emba, `image-types' and `image-load-path' do not exist. + (skip-unless (and (bound-and-true-p image-types) + (bound-and-true-p image-load-path))) (should (eq (image-type "foo.jpg") 'jpeg))) (ert-deftest image-type-from-file-header-test () |