diff options
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?' +} |