aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorXu Cheng2015-03-14 19:32:41 +0800
committerXu Cheng2015-03-14 19:44:14 +0800
commitf5108f3cc21514981a52d29dceaeaca36d282215 (patch)
tree1bbd9f2fab4b4a554a155436b500dec2802e6b19 /Library/Formula
parent6701941a82adebcb99f2784161c133578021553e (diff)
downloadhomebrew-f5108f3cc21514981a52d29dceaeaca36d282215.tar.bz2
wgetpaste: add test
Closes #37714. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/wgetpaste.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/Library/Formula/wgetpaste.rb b/Library/Formula/wgetpaste.rb
index b63d40eff..81f0c9325 100644
--- a/Library/Formula/wgetpaste.rb
+++ b/Library/Formula/wgetpaste.rb
@@ -1,11 +1,13 @@
-require "formula"
-
class Wgetpaste < Formula
homepage "http://wgetpaste.zlin.dk/"
url "http://wgetpaste.zlin.dk/wgetpaste-2.25.tar.bz2"
- sha1 "4f2220714522c724928dee67ed1c5d7feed1c207"
+ sha256 "6a7e078e6607f4fe819fc52857a601630ec0f7d2ee855d3b1cd7e75a904c40f4"
def install
bin.install "wgetpaste"
end
+
+ test do
+ system bin/"wgetpaste", "-S"
+ end
end