diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb index 2f340788be43b2..7342b3f933e753 100644 --- a/test/ruby/test_object.rb +++ b/test/ruby/test_object.rb @@ -1035,7 +1035,6 @@ def test_singleton_class_of_singleton_class_freeze assert_predicate(xxs, :frozen?, '[Bug #20319]') assert_predicate(xxxs, :frozen?, '[Bug #20319]') - m = Module.new y = Object.new ys = y.singleton_class ys.prepend(Module.new)