aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-06-08 21:26:21 -0500
committerJack Nagel2013-06-08 21:32:25 -0500
commiteb0341d84ea13750c3d748c96effe073c07d59dc (patch)
tree47bcda618702a6ca08ff38a24d948d1e3dd03820 /Library
parent02d3a20c652313206e9a8c229c044b46e1fa553c (diff)
downloadhomebrew-eb0341d84ea13750c3d748c96effe073c07d59dc.tar.bz2
iozone: use test assertion
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/iozone.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/iozone.rb b/Library/Formula/iozone.rb
index 9e33d90dd..1bc0345fb 100644
--- a/Library/Formula/iozone.rb
+++ b/Library/Formula/iozone.rb
@@ -23,7 +23,7 @@ class Iozone < Formula
test do
require 'open3'
Open3.popen3("#{bin}/iozone", "-I", "-s", "16M") do |_, stdout, _|
- /File size set to 16384 KB/ === stdout.read
+ assert_match /File size set to 16384 KB/, stdout.read
end
end
end