libav: use assert_predicate

This commit is contained in:
ilovezfs 2017-10-09 02:40:53 -07:00
parent 59b6ea89ea
commit 4a5ea3d596

View file

@ -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