diff options
| author | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-09 11:53:17 +0000 |
|---|---|---|
| committer | (no author) <(no author)@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-10-09 11:53:17 +0000 |
| commit | 5c790b94f69a97244bb468178339fdf27ac4f888 (patch) | |
| tree | a63899a5369b9a830945c638bf2ad17cf0cf6ea9 /test/ruby | |
| parent | 90434d90e7b4cbbd04a081d64eca64509131627e (diff) | |
| download | ruby-5c790b94f69a97244bb468178339fdf27ac4f888.tar.gz ruby-5c790b94f69a97244bb468178339fdf27ac4f888.tar.xz ruby-5c790b94f69a97244bb468178339fdf27ac4f888.zip | |
This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -rw-r--r-- | test/ruby/test_io.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb new file mode 100644 index 000000000..642c8f443 --- /dev/null +++ b/test/ruby/test_io.rb @@ -0,0 +1,11 @@ +require 'test/unit' + +class TestIO < Test::Unit::TestCase + def test_gets_rs + r, w = IO.pipe + w.print "\377xyz" + w.close + assert_equal("\377", r.gets("\377"), "[ruby-dev:24460]") + r.close + end +end |
