projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc41b06
)
Port image-type-from-file-header-test to non-SVG Emacs
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 9 Jul 2019 20:02:51 +0000
(13:02 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 9 Jul 2019 20:03:07 +0000
(13:03 -0700)
Problem reported privately by Michael Albinus.
* test/lisp/image-tests.el (image-type-from-file-header-test):
Don’t assume svg is a supported image type.
test/lisp/image-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/image-tests.el
b/test/lisp/image-tests.el
index 621646e575043d658814f9498a1e1d0fa0eec7e6..5a5b8ea1f71afb2377819d87fce8469107c8d5ac 100644
(file)
--- a/
test/lisp/image-tests.el
+++ b/
test/lisp/image-tests.el
@@
-48,7
+48,7
@@
(ert-deftest image-type-from-file-header-test ()
"Test image-type-from-file-header."
- (should (eq
'svg
+ (should (eq
(if (image-type-available-p 'svg) 'svg)
(image-type-from-file-header
(expand-file-name "splash.svg"
image-tests--emacs-images-directory)))))