diff options
Diffstat (limited to 'test/ruby/test_module.rb')
-rw-r--r-- | test/ruby/test_module.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index 3d2d551a30..9b5cbfee88 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -301,8 +301,8 @@ class TestModule < Test::Unit::TestCase classes = [] klass = Class.new { define_singleton_method(:const_missing) { |name| - classes << name - klass + classes << name + klass } } klass.const_get("Foo::Bar::Baz") |