aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
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