-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Labels
area: testinghelpersIssues that address the testing helpersIssues that address the testing helpersstate: ready to pickIssues that are ready for being worked onIssues that are ready for being worked ontype: bugIssues that describe misbehaving functionalityIssues that describe misbehaving functionality
Description
Describe the bug
In a special case of a rooted, but not absolute path, MockPath.GetFullPath
produces results which differ from what i get using System.IO.Path.GetFullPath
To Reproduce
var fs = new MockFileSystem();
Console.WriteLine("Mocking: " + fs.Path.GetFullPath("d:test.txt"));
Console.WriteLine("OS: " + Path.GetFullPath("d:test.txt"));
Output (Linux):
Mocking: /d:test.txt
OS: /home/USER/d:test.txt
Output (Windows):
Mocking: d:test.txt
OS: D:\test.txt
Expected behavior
I expect the values to be equal.
Metadata
Metadata
Assignees
Labels
area: testinghelpersIssues that address the testing helpersIssues that address the testing helpersstate: ready to pickIssues that are ready for being worked onIssues that are ready for being worked ontype: bugIssues that describe misbehaving functionalityIssues that describe misbehaving functionality