diff options
| author | Jack Nagel | 2013-06-08 21:26:18 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-08 21:32:22 -0500 |
| commit | b1b427f132d5a5e5d1f31f0dd2f09311f0c332b6 (patch) | |
| tree | 4f96333b25acc5da37a7bde057c7a17e73ce3735 /Library/Formula | |
| parent | 72e52029907c2716a34ee8ba577d39764c302700 (diff) | |
| download | homebrew-b1b427f132d5a5e5d1f31f0dd2f09311f0c332b6.tar.bz2 | |
cbmbasic: use test assertion
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cbmbasic.rb | 2 |
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 |
