summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-15 07:08:18 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-02-15 07:08:18 +0000
commit366e1c3884e97b0d833b8805a6afcd9071ea1e8b (patch)
tree1fc29559cde939018c0d467e032b4a0d0e607ccb /test
parenta8f5a06a68f24ac48363083114c14e9c95ea61ff (diff)
* array.c (inspect_ary): don't taint the inspected result of a
recursive array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_string.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/ruby/test_string.rb b/test/ruby/test_string.rb
index 9440f93ed4..c5d3a53850 100644
--- a/test/ruby/test_string.rb
+++ b/test/ruby/test_string.rb
@@ -1693,14 +1693,6 @@ class TestString < Test::Unit::TestCase
}
end
- def test_tainted_str_new
- a = []
- a << a
- s = a.inspect
- assert(s.tainted?)
- assert_equal("[[...]]", s)
- end
-
class S2 < String
end
def test_str_new4