diff options
author | Arun Isaac | 2017-06-14 00:27:52 +0530 |
---|---|---|
committer | Arun Isaac | 2017-06-14 00:27:52 +0530 |
commit | 6c695c4b48995a159595da0002afeaeb3862ab00 (patch) | |
tree | 382982d09cd82ece8e8917090f77f3a10aa2619a | |
parent | 5257d3b3f70a9d3580fd0ce81b73d9427ff45143 (diff) | |
download | exiftool.el-6c695c4b48995a159595da0002afeaeb3862ab00.tar.gz exiftool.el-6c695c4b48995a159595da0002afeaeb3862ab00.tar.lz exiftool.el-6c695c4b48995a159595da0002afeaeb3862ab00.zip |
Use test files of the same format.
* tests/test2.jpg: Convert to PNG format.
* tests/test2.png: New file.
* tests/exiftool-tests.el (copy-test): Make both test files of the
same format (PNG).
Some tags are not copied properly when the files are of different
formats.
-rw-r--r-- | tests/exiftool-tests.el | 2 | ||||
-rw-r--r-- | tests/test2.jpg | bin | 4704 -> 0 bytes | |||
-rw-r--r-- | tests/test2.png | bin | 0 -> 11393 bytes |
3 files changed, 1 insertions, 1 deletions
diff --git a/tests/exiftool-tests.el b/tests/exiftool-tests.el index fa13dbf..9d9db03 100644 --- a/tests/exiftool-tests.el +++ b/tests/exiftool-tests.el @@ -62,7 +62,7 @@ (ert-deftest copy-test () (with-temp-test-file "test1.png" temp-1 - (with-temp-test-file "test2.jpg" temp-2 + (with-temp-test-file "test2.png" temp-2 (apply 'exiftool-write temp-1 exiftool-tests--tag-value) (exiftool-copy temp-1 temp-2) (let ((tags (mapcar 'car exiftool-tests--tag-value))) diff --git a/tests/test2.jpg b/tests/test2.jpg Binary files differdeleted file mode 100644 index b027165..0000000 --- a/tests/test2.jpg +++ /dev/null diff --git a/tests/test2.png b/tests/test2.png Binary files differnew file mode 100644 index 0000000..cf5013a --- /dev/null +++ b/tests/test2.png |