diff options
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_super.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_super.rb b/test/ruby/test_super.rb index 30cc3d8e86..82d6e19ec4 100644 --- a/test/ruby/test_super.rb +++ b/test/ruby/test_super.rb @@ -448,7 +448,7 @@ class TestSuper < Test::Unit::TestCase def foo; super end end - m = a.instance_method(:foo).bind(Object.new.extend(a)) + m = a.instance_method(:foo).bind(Object.new) assert_raise(NoMethodError, bug9377) do m.call end |