From 3c1b8a1b68f6309fbdb3d0e4be4e91c65c51386e Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 19 Apr 2013 08:09:42 +0000 Subject: 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] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 9342a78617..a84aff2004 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -1721,7 +1721,7 @@ class TestModule < Test::Unit::TestCase 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) -- cgit v1.2.3