diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-12 12:32:21 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-12-12 12:32:21 +0000 |
commit | b6aba9ad547003dd57f0a6a830ca2be7ef166db0 (patch) | |
tree | 868a414276ce463fb1cdd1617f6ed1d8cf76db44 /test/ruby/test_super.rb | |
parent | 5f87cfb94ca437bcd1fec2a5f5f2051ebe48e459 (diff) | |
download | ruby-b6aba9ad547003dd57f0a6a830ca2be7ef166db0.tar.gz |
* 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
Diffstat (limited to 'test/ruby/test_super.rb')
-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 16b623df61..df229a8f1a 100644 --- a/test/ruby/test_super.rb +++ b/test/ruby/test_super.rb @@ -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 |