summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-19 08:09:42 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-04-19 08:09:42 +0000
commit3c1b8a1b68f6309fbdb3d0e4be4e91c65c51386e (patch)
tree6469754eb37dfc9e791104664b3f7db587fb9f4d /test
parent0e102a66580d48b43b2846171fa2d7d373601d33 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_module.rb2
1 files changed, 1 insertions, 1 deletions
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)