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
@ -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…
x
Reference in New Issue
Block a user