1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

specify prefix for Dir.mktmpdir.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2007-10-24 07:11:35 +00:00
parent 7eee7f1cde
commit 7989a0868d
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ require 'fileutils'
class TestDir < Test::Unit::TestCase
def setup
@root = Dir.mktmpdir
@root = Dir.mktmpdir('__test_dir__')
for i in ?a..?z
if i.ord % 2 == 0
FileUtils.touch(File.join(@root, i))