mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
![matz](/assets/img/avatar_default.png)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
15 lines
368 B
Ruby
15 lines
368 B
Ruby
#
|
|
# This test file concludes tests which point out known bugs.
|
|
# So all tests will cause failure.
|
|
#
|
|
|
|
assert_normal_exit %q{
|
|
STDERR.reopen(STDOUT)
|
|
class Foo
|
|
def self.add_method
|
|
class_eval("def some-bad-name; puts 'hello' unless @some_variable.some_function(''); end")
|
|
end
|
|
end
|
|
Foo.add_method
|
|
}, '[ruby-core:14556] reported by Frederick Cheung'
|
|
|