MockFileSystem.Directory.GetDirectories returns absolute paths instead of relative paths #815
Labels
flag: good-first-issue
Issues that are good for first time contributors
state: in work
Issues that are currently worked on
type: bug
Issues that describe misbehaving functionality
Describe the bug
Calling
MockFileSystem.Directory.GetDirectories(@"some\path")
returns absolute paths instead of relative pathsTo Reproduce
In this code
output
is an array with a single string:C:\foo\bar
, which is incorrect.Expected behavior
In the same example,
output
should be an array with a single stringfoo\bar
Additional context
Here's a more comprehensive code snippet that shows:
The text was updated successfully, but these errors were encountered: