summaryrefslogtreecommitdiff
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-26 09:32:07 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-26 09:32:07 (GMT)
commit88d667ee444948b8c3bccafaadc653da0a319146 (patch)
tree82fb16a76a11cf6579e47557e0c362293e486512 /KNOWNBUGS.rb
parent08cf4cecd5b32785e62f7cc06d0fb14b615a9101 (diff)
[Bug #12705]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r--KNOWNBUGS.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index 35a8e75..b9ffabf 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -5,3 +5,12 @@
# 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
+}