aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mitmproxy.rb
diff options
context:
space:
mode:
authorTim D. Smith2014-12-20 09:56:08 -0500
committerTim D. Smith2014-12-20 09:56:08 -0500
commitcd9de9a9fcd6b962d03a12a98056f03315ea11d1 (patch)
treedde5b3b35faf38af4e543e07625dd9b702ddcbf0 /Library/Formula/mitmproxy.rb
parent6b5f1fafdf046092ca58254b20d271ad245e46d6 (diff)
downloadhomebrew-cd9de9a9fcd6b962d03a12a98056f03315ea11d1.tar.bz2
mitmproxy: add simple test
Diffstat (limited to 'Library/Formula/mitmproxy.rb')
-rw-r--r--Library/Formula/mitmproxy.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/mitmproxy.rb b/Library/Formula/mitmproxy.rb
index 0d36fd214..4a3c39f1f 100644
--- a/Library/Formula/mitmproxy.rb
+++ b/Library/Formula/mitmproxy.rb
@@ -125,4 +125,8 @@ class Mitmproxy < Formula
bin.install Dir[libexec/"bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
end
+
+ test do
+ system bin/"mitmproxy", "--version"
+ end
end