From 118769d028c120c86566421096d69f7705315b5e Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Sat, 12 Feb 2022 00:36:01 +0900 Subject: [PATCH] test/ruby/test_exception.rb: prevent "assigned but unused variable" --- test/ruby/test_exception.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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