aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2022-02-12 00:36:01 +0900
committerYusuke Endoh <mame@ruby-lang.org>2022-02-12 00:36:01 +0900
commit118769d028c120c86566421096d69f7705315b5e (patch)
tree01a768a043572c4a232e6386da8758be611f756b
parente92e87bf903a420e690573de263955256facd93e (diff)
downloadruby-118769d028c120c86566421096d69f7705315b5e.tar.gz
test/ruby/test_exception.rb: prevent "assigned but unused variable"
-rw-r--r--test/ruby/test_exception.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index bd4170e0fd..306ef200c5 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -265,7 +265,7 @@ class TestException < Test::Unit::TestCase
v = assert_throw(:extdep, bug18562) do
require t.path
- rescue rescue_all => e
+ rescue rescue_all
assert(false, "should not reach here")
end