mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/zlib/test_zlib.rb (test_to_io): forgotten to fix with r30201.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
eb36519b96
commit
fc233f516c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Dec 15 11:19:33 2010 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* test/zlib/test_zlib.rb (test_to_io): forgotten to fix with r30201.
|
||||
|
||||
Wed Dec 15 11:07:34 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (simple_sendfile): enable on Mac OS X.
|
||||
|
|
|
@ -237,8 +237,9 @@ if defined? Zlib
|
|||
t.close
|
||||
Zlib::GzipWriter.open(t.path) {|gz| gz.print("foo") }
|
||||
|
||||
f = Zlib::GzipReader.open(t.path)
|
||||
assert_kind_of(IO, f.to_io)
|
||||
Zlib::GzipReader.open(t.path) do |f|
|
||||
assert_kind_of(IO, f.to_io)
|
||||
end
|
||||
end
|
||||
|
||||
def test_crc
|
||||
|
|
Loading…
Add table
Reference in a new issue