public void TestFromPath_windows() { Assume.That(RuntimeInformation.IsOSPlatform(OSPlatform.Windows)); Assert.AreEqual( "/absolute/path", AbsoluteUnixPath.FromPath(Paths.Get("T:\\absolute\\path")).ToString()); }
public void TestFromPath() { Assert.AreEqual( "/absolute/path", AbsoluteUnixPath.FromPath(Paths.Get("/absolute/path")).ToString()); }
internal AbsoluteUnixPath ToAbsolutePath() { return(AbsoluteUnixPath.FromPath(this)); }