pngquant: use assert_predicate

This commit is contained in:
Dominyk Tiller 2017-10-06 21:25:25 +01:00 committed by ilovezfs
parent 8c7ed26830
commit 26b9bd9013

View file

@ -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