diff options
Diffstat (limited to 'test/ruby/test_dir.rb')
-rw-r--r-- | test/ruby/test_dir.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/ruby/test_dir.rb b/test/ruby/test_dir.rb index 4301a61dc0..36d7407d92 100644 --- a/test/ruby/test_dir.rb +++ b/test/ruby/test_dir.rb @@ -2,11 +2,12 @@ require 'test/unit' require 'tmpdir' require 'fileutils' +require 'pathname' class TestDir < Test::Unit::TestCase def setup - @root = Dir.mktmpdir('__test_dir__') + @root = Pathname.new(Dir.mktmpdir('__test_dir__')).realpath.to_s @nodir = File.join(@root, "dummy") for i in ?a..?z if i.ord % 2 == 0 |