diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-13 05:46:38 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-13 05:46:38 +0000 |
| commit | 3d93c5198f96cbdbf46fd56541672ac08c60a5b8 (patch) | |
| tree | 0680678635b5266f1915556102d2af5dc9ebb91a | |
| parent | 1f7edc0259c6c4e4b15ebfc7b10599d2fec27ff5 (diff) | |
make tempfile prefix more descriptive.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@24893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | test/ruby/test_argf.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb index e61ed8dd64..aa068c37ec 100644 --- a/test/ruby/test_argf.rb +++ b/test/ruby/test_argf.rb @@ -5,17 +5,17 @@ require File.expand_path('../envutil', __FILE__) class TestArgf < Test::Unit::TestCase def setup - @t1 = Tempfile.new("foo") + @t1 = Tempfile.new("argf-foo") @t1.binmode @t1.puts "1" @t1.puts "2" @t1.close - @t2 = Tempfile.new("bar") + @t2 = Tempfile.new("argf-bar") @t2.binmode @t2.puts "3" @t2.puts "4" @t2.close - @t3 = Tempfile.new("baz") + @t3 = Tempfile.new("argf-baz") @t3.binmode @t3.puts "5" @t3.puts "6" @@ -31,7 +31,7 @@ class TestArgf < Test::Unit::TestCase end def make_tempfile - t = Tempfile.new("foo") + t = Tempfile.new("argf-foo") t.puts "foo" t.puts "bar" t.puts "baz" @@ -261,11 +261,11 @@ class TestArgf < Test::Unit::TestCase end end - t1 = Tempfile.new("foo") + t1 = Tempfile.new("argf-foo") t1.binmode t1.puts "foo" t1.close - t2 = Tempfile.new("bar") + t2 = Tempfile.new("argf-bar") t2.binmode t2.puts "bar" t2.close |
