cclive: add test
This commit is contained in:
parent
57da8a6b2c
commit
84c7f2a313
1 changed files with 6 additions and 0 deletions
|
@ -24,4 +24,10 @@ class Cclive < Formula
|
|||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
url = "https://youtu.be/VaVZL7F6vqU"
|
||||
output = shell_output("#{bin}/cclive --no-download #{url} 2>&1")
|
||||
assert_match "Martin Luther King Jr Day", output
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue