mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
e4c15e313d
* KNOWNBUGS.rb: add test for r52872, assertion failure. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
14 lines
259 B
Ruby
14 lines
259 B
Ruby
#
|
|
# This test file concludes tests which point out known bugs.
|
|
# So all tests will cause failure.
|
|
#
|
|
|
|
assert_equal 'false', %q{
|
|
x = Object.new.taint
|
|
class << x
|
|
def to_s; "foo".freeze; end
|
|
end
|
|
x.taint
|
|
[x].join("")
|
|
eval '"foo".freeze.tainted?'
|
|
}
|