* 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
@ -961,7 +961,7 @@ end
|
|||||||
m{p 'test'}
|
m{p 'test'}
|
||||||
|
|
||||||
def m
|
def m
|
||||||
test_ok(block_given?,&proc)
|
test_ok(block_given?,&proc{})
|
||||||
end
|
end
|
||||||
m{p 'test'}
|
m{p 'test'}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user