From a5bb3b58da4d4d66ba8229d158ababa40b975856 Mon Sep 17 00:00:00 2001 From: ko1 Date: Tue, 17 Nov 2015 13:18:19 +0000 Subject: revert r52614, r52615, r52617 because they cause serious errors git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_module.rb | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'test/ruby/test_module.rb') diff --git a/test/ruby/test_module.rb b/test/ruby/test_module.rb index b86efd7005..dbbeca850d 100644 --- a/test/ruby/test_module.rb +++ b/test/ruby/test_module.rb @@ -1280,20 +1280,6 @@ class TestModule < Test::Unit::TestCase undef foo end end - - stderr = EnvUtil.verbose_warning do - Module.new do - def foo; end - mod = self - c = Class.new do - include mod - end - c.new.foo - def foo; end - end - end - assert_match(/: warning: method redefined; discarding old foo/, stderr) - assert_match(/: warning: previous definition of foo/, stderr) end def test_protected_singleton_method -- cgit v1.2.3