pxz: use assert_predicate instead of File.exist?
This commit is contained in:
parent
8f94e79bfb
commit
186c387144
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class Pxz < Formula
|
|||
test do
|
||||
(testpath/"test").write "foo bar"
|
||||
system "#{bin}/pxz", "test"
|
||||
assert File.exist? "test.xz"
|
||||
assert_predicate testpath/"test.xz", :exist?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue