aboutsummaryrefslogtreecommitdiffstats
path: root/test/ruby/test_proc.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby/test_proc.rb')
-rw-r--r--test/ruby/test_proc.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb
index dc38f18e81..5a108d3a0f 100644
--- a/test/ruby/test_proc.rb
+++ b/test/ruby/test_proc.rb
@@ -706,7 +706,7 @@ class TestProc < Test::Unit::TestCase
assert_equal([[:opt, nil], [:block, :b]], proc {|(a), &b|}.parameters)
assert_equal([[:opt, :a], [:opt, :b], [:opt, :c], [:opt, :d], [:rest, :e], [:opt, :f], [:opt, :g], [:block, :h]], proc {|a,b,c=:c,d=:d,*e,f,g,&h|}.parameters)
- assert_equal([[:req]], method(:require).parameters)
+ assert_equal([[:req]], method(:putc).parameters)
assert_equal([[:rest]], method(:p).parameters)
end