From 65bd7d081757d892d27c4e0ea8a0c94b7512c370 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 26 Mar 2013 10:38:56 -0500 Subject: whatmask: use == in test --- Library/Formula/whatmask.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3