mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
19 lines
516 B
Ruby
19 lines
516 B
Ruby
#
|
|
# This test file concludes tests which point out known bugs.
|
|
# So all tests will cause failure.
|
|
#
|
|
|
|
assert_normal_exit %q{
|
|
null = File.exist?("/dev/null") ? "/dev/null" : "NUL" # maybe DOSISH
|
|
File.read(null).clone
|
|
}, '[ruby-dev:32819] reported by Kazuhiro NISHIYAMA'
|
|
|
|
assert_normal_exit %q{
|
|
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'
|
|
|