Skip to content

Commit

Permalink
test/ruby/test_exception.rb: prevent "assigned but unused variable"
Browse files Browse the repository at this point in the history
  • Loading branch information
mame committed Feb 11, 2022
1 parent e92e87b commit 118769d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ruby/test_exception.rb
Expand Up @@ -265,7 +265,7 @@ def rescue_all.===(_)

v = assert_throw(:extdep, bug18562) do
require t.path
rescue rescue_all => e
rescue rescue_all
assert(false, "should not reach here")
end

Expand Down

0 comments on commit 118769d

Please sign in to comment.