summaryrefslogtreecommitdiff
path: root/sample
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-10 07:51:10 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-10 07:51:10 +0000
commit3079dcab4ad9e7624703d772f6fc54dc10e45bce (patch)
tree38b046d5c6429fd681c92fd9b36140f294ea9c49 /sample
parente08f18becd2fdb9fde29c2e501ad84120a475d58 (diff)
* 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
Diffstat (limited to 'sample')
-rw-r--r--sample/test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb
index 7d4c2f9..62e9a3b 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'}