pngquant: use assert_predicate
This commit is contained in:
parent
8c7ed26830
commit
26b9bd9013
1 changed files with 1 additions and 1 deletions
|
@ -26,6 +26,6 @@ class Pngquant < Formula
|
|||
|
||||
test do
|
||||
system "#{bin}/pngquant", test_fixtures("test.png"), "-o", "out.png"
|
||||
File.exist? testpath/"out.png"
|
||||
assert_predicate testpath/"out.png", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue