aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-08 21:26:26 -0500
committerJack Nagel2013-06-08 21:32:30 -0500
commite0cc2182d03095820926fe17546124b6f5ad5990 (patch)
tree437980bf57c1034ba3979146cf353dc2629b3961 /Library
parent52d1016b93545d651fc47101a6f31f5a6a17d6bd (diff)
downloadhomebrew-e0cc2182d03095820926fe17546124b6f5ad5990.tar.bz2
yle-dl: use test assertion
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/yle-dl.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/yle-dl.rb b/Library/Formula/yle-dl.rb
index 5604dddda..f9aa9946c 100644
--- a/Library/Formula/yle-dl.rb
+++ b/Library/Formula/yle-dl.rb
@@ -16,6 +16,7 @@ class YleDl < Formula
end
test do
- raise if (`#{bin}/yle-dl --help 2>&1` =~ /rtmpdump: This program dumps the media content streamed over RTMP/).nil?
+ assert_match /rtmpdump: This program dumps the media content streamed over RTMP/,
+ `#{bin}/yle-dl --help 2>&1`.strip
end
end