summaryrefslogtreecommitdiff
path: root/test/ruby/test_argf.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-18 15:23:35 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-07-18 15:23:35 +0000
commitc96b913ee017f68e32b68b3318cb27f68b3ce623 (patch)
treedccc04de82fe6ed63c518634e9eae6ff0aaf0a08 /test/ruby/test_argf.rb
parentc0087df04443e20ccd09cffe22d75774470f6853 (diff)
increment @tmp_count.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_argf.rb')
-rw-r--r--test/ruby/test_argf.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/ruby/test_argf.rb b/test/ruby/test_argf.rb
index f72505e00f2..3c78ef4a1fe 100644
--- a/test/ruby/test_argf.rb
+++ b/test/ruby/test_argf.rb
@@ -31,6 +31,7 @@ class TestArgf < Test::Unit::TestCase
end
def make_tempfile0(basename)
+ @tmp_count += 1
open("#{@tmpdir}/#{basename}-#{@tmp_count}", "w")
end