zlib: use assert_predicate instead of File.exist?
This commit is contained in:
parent
2b03944383
commit
c9a125e031
1 changed files with 1 additions and 1 deletions
|
@ -34,6 +34,6 @@ class Zlib < Formula
|
|||
touch "foo.txt"
|
||||
output = "./zpipe < foo.txt > foo.txt.z"
|
||||
system output
|
||||
assert File.exist?("foo.txt.z")
|
||||
assert_predicate testpath/"foo.txt.z", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue