diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-04 05:42:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-04 05:42:12 +0000 |
commit | f104dc7fe7649c1f8fd12ca32381e5db71b20d91 (patch) | |
tree | 87bc4e2c1541aeb21c2d3cb2f72e395fe8b9622b /KNOWNBUGS.rb | |
parent | 0394cfa1cdf4f87f6c8ade0de4f11a415ac7d641 (diff) | |
download | ruby-f104dc7fe7649c1f8fd12ca32381e5db71b20d91.tar.gz |
KNOWNBUGS.rb: assertion failure
* 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
Diffstat (limited to 'KNOWNBUGS.rb')
-rw-r--r-- | KNOWNBUGS.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb index b97a08d928..d53bdb753b 100644 --- a/KNOWNBUGS.rb +++ b/KNOWNBUGS.rb @@ -3,3 +3,12 @@ # 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?' +} |