aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMike McQuaid2012-04-07 14:36:24 +1000
committerMike McQuaid2012-04-07 14:37:10 +1000
commit8f95bb1d2afa1125a71a2c8ac85213f8b0b5ac59 (patch)
tree2dea9347732c8665f25d65d998a61271a4e17a2c /Library/Formula
parent1f7265221ff9cf8fb27edc616e1152b4def30471 (diff)
downloadhomebrew-8f95bb1d2afa1125a71a2c8ac85213f8b0b5ac59.tar.bz2
Add basic test for tmux.
Closes #11472.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tmux.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb
index c8803d937..93a5dfaff 100644
--- a/Library/Formula/tmux.rb
+++ b/Library/Formula/tmux.rb
@@ -31,4 +31,8 @@ class Tmux < Formula
#{etc}/bash_completion.d/tmux
EOS
end
+
+ def test
+ system "#{bin}/tmux -V"
+ end
end