1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/ruby/test_exception.rb: prevent "assigned but unused variable"

This commit is contained in:
Yusuke Endoh 2022-02-12 00:36:01 +09:00
parent e92e87bf90
commit 118769d028

View file

@ -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