summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_iseq.rb2
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