blob: 5e3c5dd01fff826036f29db855818d2fa3db820d (
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
}, '[Bug #12705]'
|