diff --git a/tests/Paket.Tests/UtilsSpecs.fs b/tests/Paket.Tests/UtilsSpecs.fs index e1dbf17489..7a6395dfa3 100644 --- a/tests/Paket.Tests/UtilsSpecs.fs +++ b/tests/Paket.Tests/UtilsSpecs.fs @@ -15,7 +15,7 @@ let ``createRelativePath should handle spaces``() = let ``normalize path with home directory``() = "~/data" |> Utils.normalizeLocalPath - |> shouldEqual (AbsolutePath (GetHomeDirectory() + Path.DirectorySeparatorChar.ToString() + "data")) + |> shouldEqual (AbsolutePath (Path.Combine(GetHomeDirectory(), "data"))) [] let ``relative local path is returned as is``() =