summaryrefslogtreecommitdiffstats
path: root/test/zlib/test_zlib.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-05 14:59:33 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-05 14:59:33 +0000
commita6c029f4565c4be81f714bd67e5694f6a12ad328 (patch)
tree492a0aada04a7172a94fb8d6e0198dcf744bb74e /test/zlib/test_zlib.rb
parent76c40f6ad461f5302092637d1c693f611af20902 (diff)
downloadruby-a6c029f4565c4be81f714bd67e5694f6a12ad328.tar.gz
ruby-a6c029f4565c4be81f714bd67e5694f6a12ad328.tar.xz
ruby-a6c029f4565c4be81f714bd67e5694f6a12ad328.zip
update test_new_nil.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/zlib/test_zlib.rb')
-rw-r--r--test/zlib/test_zlib.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/zlib/test_zlib.rb b/test/zlib/test_zlib.rb
index b148553be..b642fabc8 100644
--- a/test/zlib/test_zlib.rb
+++ b/test/zlib/test_zlib.rb
@@ -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