aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-03-26 10:38:56 -0500
committerJack Nagel2013-03-26 12:58:44 -0500
commit65bd7d081757d892d27c4e0ea8a0c94b7512c370 (patch)
treee1831326df71650ce667b49b6a325a15c98e32d1 /Library/Formula
parent60aebcb73632beaf0cf6f44c7d84c9d72727630a (diff)
downloadhomebrew-65bd7d081757d892d27c4e0ea8a0c94b7512c370.tar.bz2
whatmask: use == in test
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/whatmask.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/whatmask.rb b/Library/Formula/whatmask.rb
index cc935f1c4..1bf6a1876 100644
--- a/Library/Formula/whatmask.rb
+++ b/Library/Formula/whatmask.rb
@@ -12,8 +12,8 @@ class Whatmask < Formula
system "make install"
end
- def test
- %x[#{bin}/whatmask /24].eql? <<-EOS
+ test do
+ %x[#{bin}/whatmask /24] == <<-EOS
---------------------------------------------
TCP/IP SUBNET MASK EQUIVALENTS