From 3079dcab4ad9e7624703d772f6fc54dc10e45bce Mon Sep 17 00:00:00 2001 From: eban Date: Tue, 10 Jun 2003 07:51:10 +0000 Subject: [PATCH] * sample/test.rb: add block to proc to avoid warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- sample/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample/test.rb b/sample/test.rb index 7d4c2f9584..62e9a3b7e9 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -961,7 +961,7 @@ end m{p 'test'} def m - test_ok(block_given?,&proc) + test_ok(block_given?,&proc{}) end m{p 'test'}