diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2022-02-12 00:36:01 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2022-02-12 00:36:01 +0900 |
commit | 118769d028c120c86566421096d69f7705315b5e (patch) | |
tree | 01a768a043572c4a232e6386da8758be611f756b /test/ruby/test_exception.rb | |
parent | e92e87bf903a420e690573de263955256facd93e (diff) | |
download | ruby-118769d028c120c86566421096d69f7705315b5e.tar.gz |
test/ruby/test_exception.rb: prevent "assigned but unused variable"
Diffstat (limited to 'test/ruby/test_exception.rb')
-rw-r--r-- | test/ruby/test_exception.rb | 2 |
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 |