From 6c695c4b48995a159595da0002afeaeb3862ab00 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Wed, 14 Jun 2017 00:27:52 +0530 Subject: 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. --- tests/exiftool-tests.el | 2 +- tests/test2.jpg | Bin 4704 -> 0 bytes tests/test2.png | Bin 0 -> 11393 bytes 3 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 tests/test2.jpg create mode 100644 tests/test2.png 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 deleted file mode 100644 index b027165..0000000 Binary files a/tests/test2.jpg and /dev/null differ diff --git a/tests/test2.png b/tests/test2.png new file mode 100644 index 0000000..cf5013a Binary files /dev/null and b/tests/test2.png differ -- cgit v1.2.3