diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-18 07:18:56 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-18 07:18:56 +0000 |
| commit | e756f17a769cc72d003001352b2c92bcf0a98f3e (patch) | |
| tree | f09cede74019f7be21cee0ba0a5703cc0c147060 /test/ruby/test_io.rb | |
| parent | 0512a3ab5a21f6969fc1b149de7b7ddd39881bdd (diff) | |
| download | ruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.tar.gz ruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.tar.xz ruby-e756f17a769cc72d003001352b2c92bcf0a98f3e.zip | |
use ML ref. for assertion message.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_io.rb')
| -rw-r--r-- | test/ruby/test_io.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index 7da6535ed..4d4f48d43 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -19,18 +19,18 @@ class TestIO < Test::Unit::TestCase assert_nil r.gets("") r.close - # "\377" [ruby-dev:24460] + # "\377" r, w = IO.pipe w.print "\377xyz" w.close assert_equal("\377", r.gets("\377"), "[ruby-dev:24460]") r.close - # "" [ruby-core:03771] + # "" r, w = IO.pipe w.print "a\n\nb\n\n" w.close - assert_equal "a\n\n", r.gets("") + assert_equal "a\n\n", r.gets(""), "[ruby-core:03771]" assert_equal "b\n\n", r.gets("") assert_nil r.gets("") r.close |
