aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBaptiste Fontaine2015-02-16 11:25:53 +0100
committerMike McQuaid2015-02-16 13:06:01 +0000
commitd92305826e1d44cffc97218ec7d64f867892a265 (patch)
tree2e573632e74b6dac479a1bb485fbd92e27434c5d /Library
parentb89e3e6db759d81c41545f2f4b0ac99ff6d93113 (diff)
downloadhomebrew-d92305826e1d44cffc97218ec7d64f867892a265.tar.bz2
ponysay: test added
Closes #36852. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/ponysay.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/ponysay.rb b/Library/Formula/ponysay.rb
index d97588379..c36f8fda7 100644
--- a/Library/Formula/ponysay.rb
+++ b/Library/Formula/ponysay.rb
@@ -1,5 +1,3 @@
-require "formula"
-
class Ponysay < Formula
homepage "http://erkin.co/ponysay/"
url "https://github.com/erkin/ponysay/archive/3.0.2.tar.gz"
@@ -22,4 +20,8 @@ class Ponysay < Formula
"--sysconf-dir=#{prefix}/etc",
"install"
end
+
+ test do
+ system "#{bin}/ponysay", "-A"
+ end
end