summaryrefslogtreecommitdiff
path: root/KNOWNBUGS.rb
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-28 14:29:31 (GMT)
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-08-28 14:29:31 (GMT)
commit503d852995a9d4df10e387d653a1128a3476a211 (patch)
tree2448b8492acba6e29924a08cc1505584fcb48ee8 /KNOWNBUGS.rb
parent3c8dca55c43b78c0564ad0ff93d67587a7a64bf8 (diff)
* KNOWNBUGS.rb: add a test. see [ruby-dev:36028]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r--KNOWNBUGS.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index 39dc6a9..3db710a 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -2,3 +2,14 @@
# This test file concludes tests which point out known bugs.
# So all tests will cause failure.
#
+
+assert_equal 'ok', %q{
+ class Foo
+ define_method(:foo) do |&b|
+ b.call
+ end
+ end
+ Foo.new.foo do
+ break :ok
+ end
+}, '[ruby-dev:36028]'