qt: use assert_predicate instead of File.exist?
This commit is contained in:
parent
ce1b2ed3aa
commit
7c107ac4db
1 changed files with 2 additions and 2 deletions
|
@ -167,8 +167,8 @@ class Qt < 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