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:
parent
58f800a278
commit
95779deac7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue