test_module.rb: fix a typo
* test/ruby/test_module.rb (TestModule#test_nested_get): fix a typo. nested module's name is a qualified path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a4c39c5f2
commit
e1b592b508
@ -294,7 +294,7 @@ class TestModule < Test::Unit::TestCase
|
||||
end
|
||||
|
||||
def test_nested_get
|
||||
assert_equal Other, Object.const_get([self.class, Other].join('::'))
|
||||
assert_equal Other, Object.const_get([self.class, 'Other'].join('::'))
|
||||
assert_equal User::USER, self.class.const_get([User, 'USER'].join('::'))
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user