summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/stringio/test_stringio.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/stringio/test_stringio.rb b/test/stringio/test_stringio.rb
index 07fe350b46..663a33be27 100644
--- a/test/stringio/test_stringio.rb
+++ b/test/stringio/test_stringio.rb
@@ -180,17 +180,6 @@ class TestStringIO < Test::Unit::TestCase
f.close unless f.closed?
end
- def test_write_infection
- bug9769 = '[ruby-dev:48118] [Bug #9769]'
- s = "".untaint
- f = StringIO.new(s, "w")
- f.print("bar".taint)
- f.close
- assert_predicate(s, :tainted?, bug9769)
- ensure
- f.close unless f.closed?
- end
-
def test_write_encoding
s = "".force_encoding(Encoding::UTF_8)
f = StringIO.new(s)