bcpp: use assert_predicate instead of File.exist?
This commit is contained in:
parent
1f7314e3bb
commit
7f531511cf
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue