No need to save $VERBOSE

This commit is contained in:
Nobuyoshi Nakada 2023-11-15 15:27:18 +09:00
parent b003c95ef4
commit db8d437d4e
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465

View file

@ -84,11 +84,9 @@ class TestHash < Test::Unit::TestCase
self => 'self', true => 'true', nil => 'nil', self => 'self', true => 'true', nil => 'nil',
'nil' => nil 'nil' => nil
] ]
@verbose = $VERBOSE
end end
def teardown def teardown
$VERBOSE = @verbose
end end
def test_clear_initialize_copy def test_clear_initialize_copy