aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-06-08 21:26:25 -0500
committerJack Nagel2013-06-08 21:32:29 -0500
commitc92bb5e210a6b6f32e1d5f6fbda415e4d1185f89 (patch)
treee2017db89982776eb994dddb30e14313ca21e6f5 /Library/Formula
parent5e34f90aa99fb148e1eb17b6f7e7f0ecf494fdcb (diff)
downloadhomebrew-c92bb5e210a6b6f32e1d5f6fbda415e4d1185f89.tar.bz2
sflowtool: use test assertion
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sflowtool.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/sflowtool.rb b/Library/Formula/sflowtool.rb
index fc9726e58..32ab1700c 100644
--- a/Library/Formula/sflowtool.rb
+++ b/Library/Formula/sflowtool.rb
@@ -16,7 +16,7 @@ class Sflowtool < Formula
test do
require 'open3'
Open3.popen3("#{bin}/sflowtool", "-h") do |_, _, stderr|
- /sflowtool version: #{Regexp.escape(version)}/ === stderr.read
+ assert_match /sflowtool version: #{Regexp.escape(version)}/, stderr.read
end
end
end