summaryrefslogtreecommitdiff
path: root/bootstraptest/test_knownbug.rb
blob: 36c53d51bd812ad68cb141a1dbe512f667175b42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
# This test file concludes tests which point out known bugs.
# So all tests will cause failure.
#

assert_normal_exit %q{
  File.read("/dev/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'