exiftags: fix test

Our test.jpg does not contain any Exif data parseable by exiftags.
This commit is contained in:
Zhiming Wang 2016-09-29 10:23:43 -04:00
parent 6a5f50657d
commit 65263d06cd

View file

@ -20,6 +20,8 @@ class Exiftags < Formula
end
test do
system "#{bin}/exiftags", test_fixtures("test.jpg")
test_image = test_fixtures("test.jpg")
assert_match "couldn't find Exif data",
shell_output("#{bin}/exiftags #{test_image} 2>&1", 1)
end
end