diff options
author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-24 07:11:35 +0000 |
---|---|---|
committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-24 07:11:35 +0000 |
commit | 7989a0868d6a5231bfbed846eb84d99c7514939a (patch) | |
tree | 39f5a539086b34c192b60d3a0589fe6fa3094746 /test/pathname | |
parent | 7eee7f1cde9012d4ad315fa4562eb63a8f7c7fb1 (diff) | |
download | ruby-7989a0868d6a5231bfbed846eb84d99c7514939a.tar.gz |
specify prefix for Dir.mktmpdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/pathname')
-rw-r--r-- | test/pathname/test_pathname.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index 9bc780f6d3..4c9c9e1e52 100644 --- a/test/pathname/test_pathname.rb +++ b/test/pathname/test_pathname.rb @@ -287,7 +287,7 @@ class TestPathname < Test::Unit::TestCase return rescue TypeError end - Dir.mktmpdir {|dir| + Dir.mktmpdir('rubytest-pathname') {|dir| File.symlink("not-exist-target", "#{dir}/not-exist") assert_raise(Errno::ENOENT) { realpath("#{dir}/not-exist") } File.symlink("loop", "#{dir}/loop") |