diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-08 02:08:20 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-06-08 02:08:20 +0000 |
commit | b5f7766f72921bfecdd65a2121479943d263f065 (patch) | |
tree | 52ccc01b7d71ee82b01d2afa34d2e4b07db5d1fa /test/ruby | |
parent | 2258b0c7efcc175f1aa27908db2b5c82e12e2d54 (diff) | |
download | ruby-b5f7766f72921bfecdd65a2121479943d263f065.tar.gz |
* 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
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_proc.rb | 2 |
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 |