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 | 273fed0bb95ecb76ef3003fd7ef0f594d7547288 (patch) | |
| tree | d8e30bf2124cb8e3bc1cd118a60e80172e894390 /test/ruby | |
| parent | d09d332b3015d7bcf462defd10080ee6eaf98ce7 (diff) | |
| download | ruby-273fed0bb95ecb76ef3003fd7ef0f594d7547288.tar.gz ruby-273fed0bb95ecb76ef3003fd7ef0f594d7547288.tar.xz ruby-273fed0bb95ecb76ef3003fd7ef0f594d7547288.zip | |
make tempfile prefix more descriptive.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby')
| -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 6f6622e66..bdfd4cc6d 100644 --- a/test/ruby/test_argf.rb +++ b/test/ruby/test_argf.rb @@ -6,17 +6,17 @@ require_relative 'envutil' 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" @@ -32,7 +32,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" @@ -414,11 +414,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 |
