bup: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:26:59 -07:00
parent 7968383b22
commit 01f1b4284f

View file

@ -81,6 +81,6 @@ class Bup < Formula
test do
system bin/"bup", "init"
assert File.exist?("#{testpath}/.bup")
assert_predicate testpath/".bup", :exist?
end
end