aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-06-08 21:26:18 -0500
committerJack Nagel2013-06-08 21:32:22 -0500
commitb1b427f132d5a5e5d1f31f0dd2f09311f0c332b6 (patch)
tree4f96333b25acc5da37a7bde057c7a17e73ce3735 /Library/Formula
parent72e52029907c2716a34ee8ba577d39764c302700 (diff)
downloadhomebrew-b1b427f132d5a5e5d1f31f0dd2f09311f0c332b6.tar.bz2
cbmbasic: use test assertion
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cbmbasic.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/cbmbasic.rb b/Library/Formula/cbmbasic.rb
index 591ebb825..7a3b64b23 100644
--- a/Library/Formula/cbmbasic.rb
+++ b/Library/Formula/cbmbasic.rb
@@ -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