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 | e4c15e313d3ba8a7d9b8dfae3cc171229e041dbf (patch) | |
tree | 87bc4e2c1541aeb21c2d3cb2f72e395fe8b9622b /KNOWNBUGS.rb | |
parent | f2532ab8cac66cec352b6067ebbd4096cb9ca590 (diff) |
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?' +} |