summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_io.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb
index f8186840f9..32839953f2 100644
--- a/test/ruby/test_io.rb
+++ b/test/ruby/test_io.rb
@@ -1065,7 +1065,7 @@ class TestIO < Test::Unit::TestCase
end
def make_tempfile
- t = Tempfile.new("foo")
+ t = Tempfile.new("test_io")
t.binmode
t.puts "foo"
t.puts "bar"
@@ -1654,7 +1654,6 @@ End
def test_binmode_after_closed
t = make_tempfile
- t.close
assert_raise(IOError) {t.binmode}
end