diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb index 3dfab84e93..cc7421b700 100644 --- a/test/ruby/test_method.rb +++ b/test/ruby/test_method.rb @@ -474,11 +474,6 @@ class TestMethod < Test::Unit::TestCase assert_equal("#", m4.inspect, bug15608) bug17428 = '[ruby-core:101635] [Bug #17428]' - c4 = Class.new(c) - c4.class_eval { alias bar foo } - o = c4.new - o.singleton_class - m4 = o.method(:bar) assert_equal("#(Module)#prepend(*)>", String.method(:prepend).inspect, bug17428) c5 = Class.new(String)