cbmbasic: use test assertion

This commit is contained in:
Jack Nagel 2013-06-08 21:26:18 -05:00
parent c8d0b8899b
commit f6ef36e386

View file

@ -14,7 +14,7 @@ class Cbmbasic < Formula
IO.popen("#{bin}/cbmbasic", "w+") do |pipe|
pipe.write("PRINT 1\n")
pipe.close_write
/READY.\r\n 1/ === pipe.read
assert_match /READY.\r\n 1/, pipe.read
end
end
end