summaryrefslogtreecommitdiffstats
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
commit25023750f9a11997715f84c31de94af12ec5ae19 (patch)
tree4a5e878650df1fcb297d83ff34ce85af4f668089 /test
parent7c702212ee023dc268d4352a3883e7e84532a239 (diff)
downloadruby-25023750f9a11997715f84c31de94af12ec5ae19.tar.gz
ruby-25023750f9a11997715f84c31de94af12ec5ae19.tar.xz
ruby-25023750f9a11997715f84c31de94af12ec5ae19.zip
* string.c (rb_str_comparable): fixed to keep transitivity.
[ruby-dev:32693] git-svn-id: http://svn.ruby-lang.org/repos/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 4d4f48d43..de75bfd55 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