MockFileSystem.Directory.Move fails on Windows if destination has different case from source #1138
Labels
flag: good-first-issue
Issues that are good for first time contributors
state: ready to pick
Issues that are ready for being worked on
type: bug
Issues that describe misbehaving functionality
Describe the bug
On Windows,
FileSystem.Directory.Move
is successful when the destination has a different case than source butMockFileSystem.Directory.Move
throwsSystem.IO.IOException: Source and destination path must be different.
To Reproduce
Steps to reproduce the behavior:
Using
System.IO.Abstractions.TestingHelpers 21.0.29
Actual output
Expected behavior
MockFileSystem.Directory.Move should successfully move the directory.
The text was updated successfully, but these errors were encountered: