summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-07-31 19:55:16 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-07-31 19:55:16 +0900
commit835fa9e54ac1d3bbee9b816275e7ea28e9dac313 (patch)
tree8e29a01cdaac920a91f690926dafb973d66c0b07 /test
parent4562c1309333ab08c2fa5e975ded8524122a2b55 (diff)
test/ruby/test_hash.rb: remove a unused vrible
to suppress a warning
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_hash.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_hash.rb b/test/ruby/test_hash.rb
index 0549886317..edf335eaa6 100644
--- a/test/ruby/test_hash.rb
+++ b/test/ruby/test_hash.rb
@@ -1745,7 +1745,7 @@ class TestHash < Test::Unit::TestCase
assert_raise(RuntimeError){
hrec(h, nrec){ h[:c] = 3 }
}
- rescue SystemStackError => e
+ rescue SystemStackError
# ignore
end