Skip to content

Commit

Permalink
kvazaar: 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 8854609 commit c744f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/kvazaar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def install
# download small sample and try to encode it
resource("videosample").stage do
system bin/"kvazaar", "-i", "lm20.avi", "--input-res", "16x16", "-o", "lm20.hevc"
assert File.exist? "lm20.hevc"
assert_predicate Pathname.pwd/"lm20.hevc", :exist?
end
end
end

0 comments on commit c744f85

Please sign in to comment.