summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-15 15:27:18 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-11-15 17:52:40 +0900
commitdb8d437d4e2ff3f9c591cee1e5e1d6594e86301f (patch)
treeff919b8cba476a0c23da98d74e909d6c334df172
parentb003c95ef4904e31779c4015df6afe292d3fb975 (diff)
No need to save `$VERBOSE`
-rw-r--r--test/ruby/test_hash.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index d9749bc846..a01f730904 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -84,11 +84,9 @@ class TestHash < Test::Unit::TestCase
self => 'self', true => 'true', nil => 'nil',
'nil' => nil
]
- @verbose = $VERBOSE
end
def teardown
- $VERBOSE = @verbose
end
def test_clear_initialize_copy