gcviewer: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 03:53:25 -07:00
parent 75fb643792
commit e7708078a5

View file

@ -14,6 +14,6 @@ class Gcviewer < Formula
end
test do
assert(File.exist?(libexec/"gcviewer-#{version}.jar"))
assert_predicate libexec/"gcviewer-#{version}.jar", :exist?
end
end