gcviewer: use assert_predicate instead of File.exist?
This commit is contained in:
parent
75fb643792
commit
e7708078a5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue