mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_super.rb (TestSuper#test_define_method): now methods
from procs can call super. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f87cfb94c
commit
b6aba9ad54
2 changed files with 6 additions and 1 deletions
|
@ -83,6 +83,6 @@ class TestSuper < Test::Unit::TestCase
|
|||
def test_define_method # [ruby-core:03856]
|
||||
a = A.new
|
||||
a.uu(12)
|
||||
assert_raise(RuntimeError) {a.tt(12)}
|
||||
assert_equal("A#tt", a.tt(12))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue