1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_proc.rb: test_curry_binding

* test/ruby/test_proc.rb (test_curry_binding): rename
  test_binding2.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-03-29 02:47:36 +00:00
parent 485d04253f
commit c45a4d1417

View file

@ -432,7 +432,7 @@ class TestProc < Test::Unit::TestCase
assert_equal(:noreason, exc.reason)
end
def test_binding2
def test_curry_binding
assert_raise(ArgumentError) { proc {}.curry.binding }
end