aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_module.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-17 13:18:19 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-17 13:18:19 +0000
commita5bb3b58da4d4d66ba8229d158ababa40b975856 (patch)
treead5acc65be41b85ad35922c214e81476f38c61bf /test/ruby/test_module.rb
parent4ba459871d0b6c5ed4112856dd790dfafbc8c98d (diff)
downloadruby-a5bb3b58da4d4d66ba8229d158ababa40b975856.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/test_module.rb')
-rw-r--r--test/ruby/test_module.rb14
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