diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-19 08:09:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-04-19 08:09:42 +0000 |
commit | 3c1b8a1b68f6309fbdb3d0e4be4e91c65c51386e (patch) | |
tree | 6469754eb37dfc9e791104664b3f7db587fb9f4d /test/ruby | |
parent | 0e102a66580d48b43b2846171fa2d7d373601d33 (diff) | |
download | ruby-3c1b8a1b68f6309fbdb3d0e4be4e91c65c51386e.tar.gz |
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/ruby')
-rw-r--r-- | test/ruby/test_module.rb | 2 |
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) |