qt@5.5: use assert_predicate instead of File.exist?
This commit is contained in:
parent
7c107ac4db
commit
6c520d34cb
1 changed files with 2 additions and 2 deletions
|
@ -179,8 +179,8 @@ class QtAT55 < 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
|
||||
|
|
Loading…
Reference in a new issue