diff --git a/source/dub/test/base.d b/source/dub/test/base.d index d8714c0..cdef9e8 100644 --- a/source/dub/test/base.d +++ b/source/dub/test/base.d @@ -143,7 +143,7 @@ public class TestDub : Dub { /// Convenience constants for use in unittets - public static immutable ProjectPath = "/dub/project/"; + public static immutable ProjectPath = NativePath("/dub/project/"); /// Ditto public static immutable SpecialDirs Paths = { temp: "/dub/temp/", @@ -154,7 +154,7 @@ }; /// Forward to base constructor - public this (string root = ProjectPath, + public this (string root = ProjectPath.toNativeString(), PackageSupplier[] extras = null, SkipPackageSuppliers skip = SkipPackageSuppliers.none) { @@ -282,7 +282,7 @@ this() { - NativePath local = NativePath(TestDub.ProjectPath); + NativePath local = TestDub.ProjectPath; NativePath user = TestDub.Paths.userSettings; NativePath system = TestDub.Paths.systemSettings; this.fs = new FSEntry(); @@ -577,7 +577,7 @@ this.mkdir(TestDub.Paths.userPackages); this.mkdir(TestDub.Paths.cache); - this.mkdir(NativePath(TestDub.ProjectPath)); + this.mkdir(TestDub.ProjectPath); } }