[前][次][番号順一覧][スレッド一覧]

ruby-changes:37894

From: gogotanaka <ko1@a...>
Date: Mon, 16 Mar 2015 02:53:12 +0900 (JST)
Subject: [ruby-changes:37894] gogotanaka:r49976 (trunk): * test/ruby/test_lambda.rb: Fix typo yeild -> yield

gogotanaka	2015-03-16 02:53:01 +0900 (Mon, 16 Mar 2015)

  New Revision: 49976

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49976

  Log:
    * test/ruby/test_lambda.rb: Fix typo yeild -> yield
      [fix GH-851][ci skip] Patch by @hanachin

  Modified files:
    trunk/test/ruby/test_lambda.rb
Index: test/ruby/test_lambda.rb
===================================================================
--- test/ruby/test_lambda.rb	(revision 49975)
+++ test/ruby/test_lambda.rb	(revision 49976)
@@ -88,7 +88,7 @@ class TestLambdaParameters < Test::Unit: https://github.com/ruby/ruby/blob/trunk/test/ruby/test_lambda.rb#L88
       ["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)
         }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]