1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_super.rb: remove unneeded code

* test/ruby/test_super.rb (test_missing_super_in_module_unbound_method):
  binding target does not need extending.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2014-01-10 08:40:37 +00:00
parent 58f800a278
commit 95779deac7

View file

@ -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