aria2: use assert_predicate instead of File.exist?
This commit is contained in:
parent
facedda225
commit
40d1c2cae3
1 changed files with 1 additions and 1 deletions
|
@ -41,6 +41,6 @@ class Aria2 < Formula
|
|||
|
||||
test do
|
||||
system "#{bin}/aria2c", "https://brew.sh/"
|
||||
assert File.exist?("index.html"), "Failed to create index.html!"
|
||||
assert_predicate testpath/"index.html", :exist?, "Failed to create index.html!"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue