aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-03-25 13:35:20 -0500
committerJack Nagel2013-03-26 00:02:41 -0500
commit98c379cd6a5a5a7ec04c4be0d9754c349c6d633c (patch)
tree56b1de1af94c9ce8cda57c7e68a45a5ac55c3ec3 /Library/Formula
parentb9c3983bb1edb824b1c1e604d61c30565fe10cc8 (diff)
downloadhomebrew-98c379cd6a5a5a7ec04c4be0d9754c349c6d633c.tar.bz2
opam: fix test
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/opam.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/opam.rb b/Library/Formula/opam.rb
index 1c3a0c539..2fa27c059 100644
--- a/Library/Formula/opam.rb
+++ b/Library/Formula/opam.rb
@@ -18,8 +18,8 @@ class Opam < Formula
zsh_completion.install "shell/opam_completion_zsh.sh"
end
- def test
- system "#{bin}/opam --help"
+ test do
+ system "#{bin}/opam", "--help"
end
def caveats; <<-EOS.undent