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:
parent
485d04253f
commit
c45a4d1417
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue