bcpp: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:01 -07:00
parent 1f7314e3bb
commit 7f531511cf

View file

@ -26,7 +26,7 @@ class Bcpp < Formula
test
EOS
system bin/"bcpp", "test.txt", "-fnc", "#{etc}/bcpp.cfg"
assert File.exist?("test.txt.orig")
assert File.exist?("test.txt")
assert_predicate testpath/"test.txt.orig", :exist?
assert_predicate testpath/"test.txt", :exist?
end
end