mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_lambda.rb: Fix typo yeild -> yield
[fix GH-851][ci skip] Patch by @hanachin git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ed14d16f89
commit
1bbdb76e16
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ class TestLambdaParameters < Test::Unit::TestCase
|
|||
["lambda", lambda {|a, b, c| [a, b, c]}],
|
||||
] do
|
||||
|(vtype, val), (btype, block)|
|
||||
define_method("test_yeild_relaxed(#{vtype},&#{btype})") do
|
||||
define_method("test_yield_relaxed(#{vtype},&#{btype})") do
|
||||
result = assert_nothing_raised(ArgumentError, bug9605) {
|
||||
break yield_1(val, &block)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue