From 0efe5cce4cf608a16663dbb3c5a80017c0b70e64 Mon Sep 17 00:00:00 2001 From: akr Date: Sun, 13 Sep 2009 17:59:49 +0000 Subject: remove temporally files explicitly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24908 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_argf.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/ruby') diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb index bdfd4cc6d..a1f260147 100644 --- a/test/ruby/test_argf.rb +++ b/test/ruby/test_argf.rb @@ -28,11 +28,12 @@ class TestArgf < Test::Unit::TestCase @tmps.each {|t| bak = t.path + ".bak" File.unlink bak if File.file? bak + t.close(true) } end def make_tempfile - t = Tempfile.new("argf-foo") + t = Tempfile.new("argf-qux") t.puts "foo" t.puts "bar" t.puts "baz" -- cgit