From 47ef70401bf09461ade087a5f3cbbf1f7c4d744d Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:26:19 -0500 Subject: cloog: use test assertion --- Library/Formula/cloog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Formula') diff --git a/Library/Formula/cloog.rb b/Library/Formula/cloog.rb index 13329b1b5..3e0bd19d1 100644 --- a/Library/Formula/cloog.rb +++ b/Library/Formula/cloog.rb @@ -37,7 +37,7 @@ class Cloog < Formula Open3.popen3("#{bin}/cloog", "/dev/stdin") do |stdin, stdout, _| stdin.write(cloog_source) stdin.close - /Generated from \/dev\/stdin by CLooG/ === stdout.read + assert_match /Generated from \/dev\/stdin by CLooG/, stdout.read end end end -- cgit v1.2.3