summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 02:40:55 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-24 02:40:55 +0000
commit37855698ffd3ae3080304f08b0ec75df68ba0c8b (patch)
tree4a5e878650df1fcb297d83ff34ce85af4f668089 /test
parent7c92ab16a9d911e61cccb8c030956bd3354238e4 (diff)
* string.c (rb_str_comparable): fixed to keep transitivity.
[ruby-dev:32693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_io.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index 4d4f48d436..de75bfd55c 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -23,6 +23,7 @@ class TestIO < Test::Unit::TestCase
r, w = IO.pipe
w.print "\377xyz"
w.close
+ r.binmode
assert_equal("\377", r.gets("\377"), "[ruby-dev:24460]")
r.close