From b5f7766f72921bfecdd65a2121479943d263f065 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 8 Jun 2010 02:08:20 +0000 Subject: * test/ruby/test_proc.rb (test_parameters): require is no longer built-in. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_proc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_proc.rb') 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 -- cgit v1.2.3