diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-14 05:26:34 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-12-14 05:26:34 +0000 |
commit | 4d257293f8b434adc6325b1dff962f6ee27347a7 (patch) | |
tree | bd32ecbebe6d10399817b3e55eadbbb84707db88 /test/ruby | |
parent | a5b77d1cf70d6d76141712dd6fb809cd8f7cb0d3 (diff) | |
download | ruby-4d257293f8b434adc6325b1dff962f6ee27347a7.tar.gz |
* test/ruby/test_io.rb (test_binmode_after_closed): the temporary file
maked by make_temfile is already closed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
-rw-r--r-- | test/ruby/test_io.rb | 3 |
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 |