зеркало из https://github.com/github/ruby.git
* 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:
Родитель
4927a7c77a
Коммит
a3fb952a4f
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче