From 523f8308ea3446d6c40965446abf9f53ea862d6f Mon Sep 17 00:00:00 2001 From: akr Date: Wed, 24 Oct 2007 07:11:35 +0000 Subject: specify prefix for Dir.mktmpdir. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/pathname/test_pathname.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pathname') diff --git a/test/pathname/test_pathname.rb b/test/pathname/test_pathname.rb index 9bc780f6d..4c9c9e1e5 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") -- cgit