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

update test_new_nil.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2004-04-05 14:59:33 +00:00
parent 2f8c9ce629
commit 22757fbaba

View file

@ -5,12 +5,6 @@ require 'zlib'
class TestZlibGzipWriter < Test::Unit::TestCase
def test_new_nil # [ruby-dev:23228]
old = $VERBOSE
$VERBOSE = nil
begin
assert_raises(NoMethodError) { Zlib::GzipWriter.new(nil).close }
ensure
$VERBOSE = old
end
assert_raises(NoMethodError) { Zlib::GzipWriter.new(nil).close }
end
end