diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-28 15:04:25 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-06-28 15:04:25 +0900 |
commit | f8b64e5f2cea508d1ea93966e2039b394715bae7 (patch) | |
tree | 082f95cc5bd1e060a163620f15dc13af277d3a87 | |
parent | c52dad0ecf0b8d87afb570d7dde508fe78d145d4 (diff) |
Use assigned local variable
-rw-r--r-- | test/ruby/test_iseq.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_iseq.rb b/test/ruby/test_iseq.rb index 9f58fefc1f..ac3f9a355d 100644 --- a/test/ruby/test_iseq.rb +++ b/test/ruby/test_iseq.rb @@ -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 |