aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pidcat.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2014-05-04 12:12:41 -0700
committerAdam Vandenberg2014-08-01 07:58:10 -0700
commitff86702dd85eab420f6f58e8dcf8375dae4b22b9 (patch)
treee0071c9d3604ab8d311679aa77ce9cce90da962f /Library/Formula/pidcat.rb
parent1dc876667538fb33ebc9eb30edd3bc9b530592a6 (diff)
downloadhomebrew-ff86702dd85eab420f6f58e8dcf8375dae4b22b9.tar.bz2
use test helpers
Diffstat (limited to 'Library/Formula/pidcat.rb')
-rw-r--r--Library/Formula/pidcat.rb15
1 files changed, 7 insertions, 8 deletions
diff --git a/Library/Formula/pidcat.rb b/Library/Formula/pidcat.rb
index 976c88dbc..8c3c47167 100644
--- a/Library/Formula/pidcat.rb
+++ b/Library/Formula/pidcat.rb
@@ -1,17 +1,16 @@
-require 'formula'
+require "formula"
class Pidcat < Formula
- homepage 'https://github.com/JakeWharton/pidcat'
- url 'https://github.com/JakeWharton/pidcat/archive/1.4.1.tar.gz'
- sha1 '89f806ae1fa3375ce188851c8c95fc1097467b82'
- head 'https://github.com/JakeWharton/pidcat.git'
+ homepage "https://github.com/JakeWharton/pidcat"
+ head "https://github.com/JakeWharton/pidcat.git"
+ url "https://github.com/JakeWharton/pidcat/archive/1.4.1.tar.gz"
+ sha1 "89f806ae1fa3375ce188851c8c95fc1097467b82"
def install
- bin.install 'pidcat.py' => 'pidcat'
+ bin.install "pidcat.py" => "pidcat"
end
test do
- output = `#{bin}/pidcat --help`.strip
- assert_match /^usage: pidcat/, output
+ assert_match /^usage: pidcat/, shell_output("#{bin}/pidcat --help").strip
end
end