ruby-changes:38028
From: nobu <ko1@a...>
Date: Sun, 29 Mar 2015 11:47:50 +0900 (JST)
Subject: [ruby-changes:38028] nobu:r50109 (trunk): test_proc.rb: test_curry_binding
nobu 2015-03-29 11:47:36 +0900 (Sun, 29 Mar 2015) New Revision: 50109 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50109 Log: test_proc.rb: test_curry_binding * test/ruby/test_proc.rb (test_curry_binding): rename test_binding2. Modified files: trunk/test/ruby/test_proc.rb Index: test/ruby/test_proc.rb =================================================================== --- test/ruby/test_proc.rb (revision 50108) +++ test/ruby/test_proc.rb (revision 50109) @@ -432,7 +432,7 @@ class TestProc < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_proc.rb#L432 assert_equal(:noreason, exc.reason) end - def test_binding2 + def test_curry_binding assert_raise(ArgumentError) { proc {}.curry.binding } end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/