From eb0341d84ea13750c3d748c96effe073c07d59dc Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:21 -0500 Subject: iozone: use test assertion --- Library/Formula/iozone.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3