From 75ae98620847050eecce1d3050de7e9aa16f8760 Mon Sep 17 00:00:00 2001 From: Ashwin Maroli Date: Fri, 5 Jun 2020 12:35:12 +0530 Subject: [PATCH] Expect drive letter only on vanilla windows (#8227) Merge pull request 8227 --- test/helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helper.rb b/test/helper.rb index ff683527..479cdf9c 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -82,7 +82,7 @@ module DirectoryHelpers end def temp_dir(*subdirs) - if Utils::Platforms.windows? + if Utils::Platforms.vanilla_windows? drive = Dir.pwd.sub(%r!^([^/]+).*!, '\1') temp_root = File.join(drive, "tmp") else