summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-14 02:24:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-14 02:24:35 +0000
commitdb318509d5546696e65e6241197cdacbe442c071 (patch)
treef5c416e067a02a531c06cd6e0143cdf38ad4f6da /test
parentc74995b2af9f7d1de110da7c1e6164aba5197d42 (diff)
object.c: fix typo
* object.c (rb_mod_const_get): fix typo. should use SYM2ID() not ID2SYM(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44192 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 269fb15045..26dbf9a588 100644
--- a/test/ruby/test_module.rb
+++ b/test/ruby/test_module.rb
@@ -297,7 +297,7 @@ class TestModule < Test::Unit::TestCase
assert_equal [:Foo, :Bar, :Baz], classes
end
- def test_nested_bad_class
+ def test_nested_get_bad_class
assert_raise(TypeError) do
self.class.const_get([User, 'USER', 'Foo'].join('::'))
end