1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/KNOWNBUGS.rb
knu 7eb2e99e70 Add a comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@18078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-07-15 12:50:24 +00:00

19 lines
339 B
Ruby

#
# This is a list of known bugs.
#
require 'test/unit'
class TC_KnownBugs < Test::Unit::TestCase
def just_yield()
yield
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)
}
end
end