1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2007-12-24 02:40:55 +00:00
parent 7c92ab16a9
commit 37855698ff
3 changed files with 20 additions and 6 deletions

View file

@ -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