mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
3c8dca55c4
commit
503d852995
2 changed files with 15 additions and 0 deletions
11
KNOWNBUGS.rb
11
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]'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue