From 37679ee584e409088a2f083594e3c4ccba486e13 Mon Sep 17 00:00:00 2001 From: akr Date: Mon, 25 Jan 2010 23:12:50 +0000 Subject: supress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_proc.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/ruby/test_proc.rb') diff --git a/test/ruby/test_proc.rb b/test/ruby/test_proc.rb index 6b8fb974ee..213566903e 100644 --- a/test/ruby/test_proc.rb +++ b/test/ruby/test_proc.rb @@ -178,7 +178,7 @@ class TestProc < Test::Unit::TestCase b = proc { :foo } assert_equal(:foo, b.curry[]) - b = lambda {|x, y, &b| b.call(x + y) }.curry + b = lambda {|x, y, &blk| blk.call(x + y) }.curry b = b.call(2) { raise } b = b.call(3) {|x| x + 4 } assert_equal(9, b) -- cgit v1.2.3