1
0
Fork 0
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:
gogotanaka 2015-03-15 17:53:01 +00:00
parent ed14d16f89
commit 1bbdb76e16

View file

@ -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)
}