diff options
Diffstat (limited to 'test/ruby/test_method_cache.rb')
| -rw-r--r-- | test/ruby/test_method_cache.rb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/ruby/test_method_cache.rb b/test/ruby/test_method_cache.rb index 2ed89e47bf..a8e7e22ae3 100644 --- a/test/ruby/test_method_cache.rb +++ b/test/ruby/test_method_cache.rb @@ -61,16 +61,5 @@ class TestMethodCache < Test::Unit::TestCase assert_equal :c2, c3.new.foo end - - def test_negative_cache_with_and_without_subclasses - c0 = Class.new{} - c1 = Class.new(c0){} - c0.new.foo rescue nil - c1.new.foo rescue nil - c1.module_eval{ def foo = :c1 } - c0.module_eval{ def foo = :c0 } - - assert_equal :c0, c0.new.foo - end end |
