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

* test/zlib/test_zlib.rb(test_readchar): compare in same type.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
takano32 2008-11-03 23:00:40 +00:00
parent 4927a7c77a
commit a3fb952a4f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Nov 4 08:00:00 2008 TAKANO Mitsuhiro (takano32) <tak@no32.tk>
* test/zlib/test_zlib.rb(test_readchar): compare in same type.
Tue Nov 4 03:28:31 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
* array.c (rb_ary_join): do not repeat self in a recursive array.

View file

@ -490,7 +490,7 @@ if defined? Zlib
Zlib::GzipWriter.open(t.path) {|gz| gz.print("foobar") }
f = Zlib::GzipReader.open(t.path)
"foobar".each_byte {|c| assert_equal(c, f.readchar) }
"foobar".each_byte {|c| assert_equal(c, f.readchar.ord) }
assert_raise(EOFError) { f.readchar }
end