diff options
Diffstat (limited to 'KNOWNBUGS.rb')
| -rw-r--r-- | KNOWNBUGS.rb | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index c5ebc97b02..35a8e75876 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -1,19 +1,7 @@ # -# This is a list of known bugs. +# IMPORTANT: Always keep the first 7 lines (comments), +# even if this file is otherwise empty. +# +# This test file includes tests which point out known bugs. +# So all tests will cause failure. # - -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 |
