ruby-changes:41433
From: naruse <ko1@a...>
Date: Tue, 12 Jan 2016 16:43:54 +0900 (JST)
Subject: [ruby-changes:41433] naruse:r53507 (trunk): fix test to follow r53503
naruse 2016-01-12 16:44:18 +0900 (Tue, 12 Jan 2016) New Revision: 53507 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53507 Log: fix test to follow r53503 Modified files: trunk/test/ruby/test_proc.rb Index: test/ruby/test_proc.rb =================================================================== --- test/ruby/test_proc.rb (revision 53506) +++ test/ruby/test_proc.rb (revision 53507) @@ -1149,7 +1149,7 @@ class TestProc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_proc.rb#L1149 assert_equal([[:req, :a], [:opt, :b], [:req, :c], [:keyrest, :o]], method(:pmk6).to_proc.parameters) assert_equal([[:req, :a], [:opt, :b], [:rest, :c], [:req, :d], [:keyrest, :o]], method(:pmk7).to_proc.parameters) - assert_equal([], "".method(:upcase).to_proc.parameters) + assert_equal([], "".method(:empty?).to_proc.parameters) assert_equal([[:rest]], "".method(:gsub).to_proc.parameters) assert_equal([[:rest]], proc {}.curry.parameters) end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/