diff options
Diffstat (limited to 'bootstraptest/test_method.rb')
-rw-r--r-- | bootstraptest/test_method.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb index 8d0db6e478..f015efd6d7 100644 --- a/bootstraptest/test_method.rb +++ b/bootstraptest/test_method.rb @@ -914,7 +914,7 @@ assert_equal %q{[:ok, :ok, :ok, :ok, :ok, :ok, :ng, :ng]}, %q{ o1 = c1.new o2 = c2.new - + test{o1.m} test{o2.mm} test{o1.send :m} @@ -1074,7 +1074,7 @@ assert_equal '[1, 2, [3, 4]]', %q{ def regular(a, b, *c) [a, b, c] end - regular(*[], 1, *[], *[2, 3], *[], 4) + regular(*[], 1, *[], *[2, 3], *[], 4) }, '[ruby-core:19413]' assert_equal '[1, [:foo, 3, 4, :foo]]', %q{ @@ -1093,7 +1093,7 @@ assert_equal '["B", "A"]', %q{ end class B < A - define_method(:m) do + define_method(:m) do ['B', super()] end end |