Skip to content

Commit

Permalink
qt@5.7: use assert_predicate instead of File.exist?
Browse files Browse the repository at this point in the history
  • Loading branch information
ilovezfs committed Oct 6, 2017
1 parent 6c520d3 commit 27e66f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Formula/qt@5.7.rb
Expand Up @@ -177,8 +177,8 @@ def caveats; <<-EOS.undent

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

0 comments on commit 27e66f1

Please sign in to comment.