summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f72505e00f..3c78ef4a1f 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