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 | 5d41fad200bb9ec8327dcd9be5c703db66f7c7a8 (patch) | |
| tree | 868a414276ce463fb1cdd1617f6ed1d8cf76db44 | |
| parent | 9cc62ea4ad95b19e24fe2e8d7b3cf86547b6f0e5 (diff) | |
| download | ruby-5d41fad200bb9ec8327dcd9be5c703db66f7c7a8.tar.gz ruby-5d41fad200bb9ec8327dcd9be5c703db66f7c7a8.tar.xz ruby-5d41fad200bb9ec8327dcd9be5c703db66f7c7a8.zip | |
* test/ruby/test_super.rb (TestSuper#test_define_method): now methods
from procs can call super.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | test/ruby/test_super.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Sun Dec 12 21:32:14 2004 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * test/ruby/test_super.rb (TestSuper#test_define_method): now methods + from procs can call super. + Sun Dec 12 10:35:10 2004 Dave Thomas <dave@pragprog.com> * lib/rdoc/generators/template/html/html.rb (RDoc::Page): Don't diff --git a/test/ruby/test_super.rb b/test/ruby/test_super.rb index 16b623df6..df229a8f1 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 |
