summaryrefslogtreecommitdiff
path: root/KNOWNBUGS.rb
blob: b9ffabf2125a36e5a48535428b25f293a08a5f92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# 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.
#

assert_equal "ArgumentError", %{
  def s(a) yield a; end
  begin
    s([1, 2], &lambda { |a,b| [a,b] })
  rescue ArgumentError => e
    e.class
  end
}