mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Use assigned local variable
This commit is contained in:
parent
c52dad0ecf
commit
f8b64e5f2c
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ class TestISeq < Test::Unit::TestCase
|
|||
type = ary[9]
|
||||
name = ary[5]
|
||||
line = ary[13].first
|
||||
case ary[9]
|
||||
case type
|
||||
when :method
|
||||
assert_equal "foo", name
|
||||
assert_equal 3, line
|
||||
|
|
Loading…
Add table
Reference in a new issue