little-cms: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:08 -07:00
parent c0f9a9bbde
commit 444214a9b2

View file

@ -36,6 +36,6 @@ class LittleCms < Formula
test do
system "#{bin}/jpegicc", test_fixtures("test.jpg"), "out.jpg"
assert File.exist?("out.jpg")
assert_predicate testpath/"out.jpg", :exist?
end
end