summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-06 09:02:34 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-07-06 09:02:34 +0000
commitc8854d2ca4be9ee6946e6d17b0e17d9ef130ee81 (patch)
tree6f3a7d8c0d522035db6cbb81d82bd9df326872a5 /test/ruby
parent415e9cef0d3399f69ccf2209a1f87e5bb7643c68 (diff)
* vm_insnhelper.c (vm_search_super_method): do not skip calling
same methods in super. [Bug #3351] * test/ruby/test_super.rb: fix a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_super.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/ruby/test_super.rb b/test/ruby/test_super.rb
index 7d4048b342..535383ee80 100644
--- a/test/ruby/test_super.rb
+++ b/test/ruby/test_super.rb
@@ -228,11 +228,8 @@ class TestSuper < Test::Unit::TestCase
A.send(:include, Override)
end
- # [Bug #3351]
def test_double_include
- assert_equal([:Base, :Override], DoubleInclude::B.new.foo)
- # should be changed as follows?
- # assert_equal([:Base, :Override, :Override], DoubleInclude::B.new.foo)
+ assert_equal([:Base, :Override, :Override], DoubleInclude::B.new.foo, "[Bug #3351]")
end
module DoubleInclude2