mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
e08f18becd
commit
3079dcab4a
1 changed files with 1 additions and 1 deletions
|
@ -961,7 +961,7 @@ end
|
|||
m{p 'test'}
|
||||
|
||||
def m
|
||||
test_ok(block_given?,&proc)
|
||||
test_ok(block_given?,&proc{})
|
||||
end
|
||||
m{p 'test'}
|
||||
|
||||
|
|
Loading…
Reference in a new issue