summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/ruby/test_call.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ruby/test_call.rb b/test/ruby/test_call.rb
index 05a362e72f..88a0df4388 100644
--- a/test/ruby/test_call.rb
+++ b/test/ruby/test_call.rb
@@ -105,7 +105,9 @@ class TestCall < Test::Unit::TestCase
define_singleton_method(:a, &pr)
ary = [10]
assert_equal(10, a(*ary))
+ end
+ def test_call_bmethod_proc_restarg
pr = proc{|*sym| sym}
define_singleton_method(:a, &pr)
ary = [10]