]> git.eshelyaron.com Git - emacs.git/commit
Expand tests for image-type-from-file-header
authorStefan Kangas <stefan@marxist.se>
Sun, 24 Oct 2021 10:07:48 +0000 (12:07 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 24 Oct 2021 10:14:32 +0000 (12:14 +0200)
commit418b54e49217f43d72e3d0cc3cfb583c791328a8
treeeff371fe754591376d0b7332ce3e64268c1f262b
parentb2bfdd9658be87d34438f1a9ecd38242be6f6064
Expand tests for image-type-from-file-header

* test/lisp/image-tests.el (image-tests--files): New defconst.
(image-tests--type-from-file-header): New defun.
(image-type-from-file-header-test/jpeg)
(image-type-from-file-header-test/pbm)
(image-type-from-file-header-test/png)
(image-type-from-file-header-test/svg)
(image-type-from-file-header-test/tiff)
(image-type-from-file-header-test/webp)
(image-type-from-file-header-test/xbm)
(image-type-from-file-header-test/xpm): New tests.
(image-type-from-file-header-test): Delete test.
test/lisp/image-tests.el