From 9d72cb269cfc3765d30e67c36a4eb1e40e7f570d Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 25 Sep 2009 04:48:54 +0000 Subject: * proc.c (missing_wrap): reverted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_object.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test/ruby/test_object.rb') diff --git a/test/ruby/test_object.rb b/test/ruby/test_object.rb index 37317cfd47..e4026eccba 100644 --- a/test/ruby/test_object.rb +++ b/test/ruby/test_object.rb @@ -325,6 +325,7 @@ class TestObject < Test::Unit::TestCase foo = c.new assert_equal([:foo], foo.foobar); assert_equal([:foo, 1], foo.foobar(1)); + assert_equal([:foo, 1, 2, 3, 4, 5], foo.foobar(1, 2, 3, 4, 5)); assert(foo.respond_to?(:foobar)) assert_equal(false, foo.respond_to?(:foobarbaz)) assert_raise(NoMethodError) do @@ -334,6 +335,7 @@ class TestObject < Test::Unit::TestCase foobar = foo.method(:foobar) assert_equal([:foo], foobar.call); assert_equal([:foo, 1], foobar.call(1)); + assert_equal([:foo, 1, 2, 3, 4, 5], foobar.call(1, 2, 3, 4, 5)); c = Class.new(c) assert_equal(false, c.method_defined?(:foobar)) -- cgit v1.2.3