1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Add a comment.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
knu 2008-07-15 12:50:24 +00:00
parent 074d49e37a
commit 7eb2e99e70

View file

@ -10,6 +10,8 @@ class TC_KnownBugs < Test::Unit::TestCase
end
def test_block_arg1
# &b wrongly captures the upper block such as the one given to
# this method, if no block is given on yield.
just_yield {|&b|
assert_equal(nil, b)
}