mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
503d852995
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
15 lines
254 B
Ruby
15 lines
254 B
Ruby
#
|
|
# 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]'
|