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:
parent
e92e87bf90
commit
118769d028
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue