exiftool: improve test
This commit is contained in:
parent
15484685dd
commit
6a5f50657d
1 changed files with 3 additions and 1 deletions
|
@ -29,6 +29,8 @@ class Exiftool < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
system bin/"exiftool"
|
test_image = test_fixtures("test.jpg")
|
||||||
|
assert_match %r{MIME Type\s+: image/jpeg},
|
||||||
|
shell_output("#{bin}/exiftool #{test_image}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue