mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/zlib/test_zlib.rb (test_path): enable the accidentally-disabled assertion
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7c35618c53
commit
7735e2da11
1 changed files with 3 additions and 3 deletions
|
@ -621,9 +621,9 @@ if defined? Zlib
|
|||
gz.close
|
||||
|
||||
sio = StringIO.new(s)
|
||||
Zlib::GzipReader.new(sio) do |f|
|
||||
assert_raise(NoMethodError) { f.path }
|
||||
end
|
||||
gz = Zlib::GzipReader.new(sio)
|
||||
assert_raise(NoMethodError) { gz.path }
|
||||
gz.close
|
||||
}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue