summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorgogotanaka <gogotanaka@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-15 17:53:01 +0000
committergogotanaka <gogotanaka@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-15 17:53:01 +0000
commit1bbdb76e168d05511b8e18d83a037cc2aac158c1 (patch)
tree0b865af7937dbce2b7222f7a27bee4bb130a4878 /test
parented14d16f89beaa48dcf48630227e8bbf3fef1f8a (diff)
* 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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_lambda.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ruby/test_lambda.rb b/test/ruby/test_lambda.rb
index 0f3382ce78..b2b4c9c907 100644
--- a/test/ruby/test_lambda.rb
+++ b/test/ruby/test_lambda.rb
@@ -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)
}