cloog: use test assertion

This commit is contained in:
Jack Nagel 2013-06-08 21:26:19 -05:00
parent a1a8cf55c6
commit 59c6d8e30e

View file

@ -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