libav: use assert_predicate
This commit is contained in:
parent
59b6ea89ea
commit
4a5ea3d596
1 changed files with 1 additions and 1 deletions
|
@ -115,6 +115,6 @@ class Libav < Formula
|
|||
# Create an example mp4 file
|
||||
system "#{bin}/avconv", "-y", "-filter_complex",
|
||||
"testsrc=rate=1:duration=1", "#{testpath}/video.mp4"
|
||||
assert (testpath/"video.mp4").exist?
|
||||
assert_predicate testpath/"video.mp4", :exist?
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue