summaryrefslogtreecommitdiff
path: root/bootstraptest/test_knownbug.rb
blob: 441212c17cc98649d2212bdf79435e4b23f831d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#
# 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'