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

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

View file

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