bear: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:39:15 -07:00
parent f2fb2a6247
commit 751014163f

View file

@ -23,6 +23,6 @@ class Bear < Formula
test do
system "#{bin}/bear", "true"
assert File.exist? "compile_commands.json"
assert_predicate testpath/"compile_commands.json", :exist?
end
end