diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-17 13:18:19 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-11-17 13:18:19 +0000 |
commit | 6a533a3ecc23e6cb90e2616231f2b67d15ff3239 (patch) | |
tree | ad5acc65be41b85ad35922c214e81476f38c61bf /test/ruby | |
parent | 508addd7e06fac19fe36fee957b31035e72097db (diff) | |
download | ruby-6a533a3ecc23e6cb90e2616231f2b67d15ff3239.tar.gz |
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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_module.rb | 14 |
1 files changed, 0 insertions, 14 deletions
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 |