blob: c5ebc97b022b146e8d8f6a093d65b7aea19da8e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#
# 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
|