streamlink: fix test

This commit is contained in:
FX Coudert 2019-03-04 21:25:20 +01:00
parent 6e82367af0
commit 3811abef10

View file

@ -90,7 +90,7 @@ class Streamlink < Formula
end
test do
system "#{bin}/streamlink", "https://www.youtube.com/watch?v=he2a4xK8ctk", "144p", "-o", "video.mp4"
assert_match "video.mp4: ISO Media, MPEG v4 system, 3GPP", shell_output("file video.mp4")
system "#{bin}/streamlink", "https://www.youtube.com/watch?v=he2a4xK8ctk", "360p", "-o", "video.mp4"
assert_match "video.mp4: ISO Media, MP4 v2", shell_output("file video.mp4")
end
end