kvazaar: use assert_predicate instead of File.exist?
This commit is contained in:
parent
8854609817
commit
c744f857cf
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class Kvazaar < Formula
|
|||
# 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
|
||||
|
|
Loading…
Reference in a new issue