little-cms2: use assert_predicate instead of File.exist?
This commit is contained in:
parent
444214a9b2
commit
3ec7a2856f
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ class LittleCms2 < Formula
|
|||
|
||||
test do
|
||||
system "#{bin}/jpgicc", test_fixtures("test.jpg"), "out.jpg"
|
||||
assert File.exist?("out.jpg")
|
||||
assert_predicate testpath/"out.jpg", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue