qt@5.7: use assert_predicate instead of File.exist?

This commit is contained in:
ilovezfs 2017-10-06 02:08:12 -07:00
parent 6c520d34cb
commit 27e66f100f

View file

@ -177,8 +177,8 @@ class QtAT57 < Formula
system bin/"qmake", testpath/"hello.pro"
system "make"
assert File.exist?("hello")
assert File.exist?("main.o")
assert_predicate testpath/"hello", :exist?
assert_predicate testpath/"main.o", :exist?
system "./hello"
end
end