summaryrefslogtreecommitdiff
path: root/test/ruby/test_super.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-10 08:40:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-01-10 08:40:37 +0000
commit95779deac77d57068544fe2dcbafcb4170641dd8 (patch)
tree173a93ae0bcf0e385ec7f566f2f446ebb4d869d6 /test/ruby/test_super.rb
parent58f800a278b8b70463f4afdbb23a918d8ab441ff (diff)
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
Diffstat (limited to 'test/ruby/test_super.rb')
-rw-r--r--test/ruby/test_super.rb2
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