aboutsummaryrefslogtreecommitdiffstats
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-26 09:32:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-26 09:32:07 +0000
commitf5ffcd081ef6c0fd9bbf29b1663417f156cf8034 (patch)
tree82fb16a76a11cf6579e47557e0c362293e486512 /KNOWNBUGS.rb
parent3088ac0f6633d734eddf7e807a24e3ecf8bbc3e5 (diff)
downloadruby-f5ffcd081ef6c0fd9bbf29b1663417f156cf8034.tar.gz
[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 35a8e75876..b9ffabf212 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
+}