ruby-changes:28319
From: nobu <ko1@a...>
Date: Fri, 19 Apr 2013 17:09:51 +0900 (JST)
Subject: [ruby-changes:28319] nobu:r40371 (trunk): test_module.rb: rename
nobu 2013-04-19 17:09:42 +0900 (Fri, 19 Apr 2013) New Revision: 40371 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=40371 Log: test_module.rb: rename * test/ruby/test_module.rb (test_visibility_by_public_class_method): rename because anonymousness is not a point. [ruby-core:54404] [Bug #8284] Modified files: trunk/test/ruby/test_module.rb Index: test/ruby/test_module.rb =================================================================== --- test/ruby/test_module.rb (revision 40370) +++ test/ruby/test_module.rb (revision 40371) @@ -1721,7 +1721,7 @@ class TestModule < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_module.rb#L1721 assert_equal [mod, obj.singleton_class, Object], obj.singleton_class.ancestors.first(3) end - def test_anonymous_module_public_class_method + def test_visibility_by_public_class_method bug8284 = '[ruby-core:54404] [Bug #8284]' assert_raise(NoMethodError) {Object.define_method} Module.new.public_class_method(:define_method) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/