diff options
| author | Jack Nagel | 2013-06-08 21:26:25 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-08 21:32:29 -0500 |
| commit | c92bb5e210a6b6f32e1d5f6fbda415e4d1185f89 (patch) | |
| tree | e2017db89982776eb994dddb30e14313ca21e6f5 /Library/Formula | |
| parent | 5e34f90aa99fb148e1eb17b6f7e7f0ecf494fdcb (diff) | |
| download | homebrew-c92bb5e210a6b6f32e1d5f6fbda415e4d1185f89.tar.bz2 | |
sflowtool: use test assertion
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sflowtool.rb | 2 |
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 |
