cbmbasic: use test assertion
This commit is contained in:
parent
c8d0b8899b
commit
f6ef36e386
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue