diff --git a/Formula/bcpp.rb b/Formula/bcpp.rb index fa25d31c6c..ab4479819c 100644 --- a/Formula/bcpp.rb +++ b/Formula/bcpp.rb @@ -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