MockDirectory.Delete recursive does not consider nested files MockFileData.AllowedFileShare property #747
Labels
area: testinghelpers
Issues that address the testing helpers
state: ready to pick
Issues that are ready for being worked on
type: bug
Issues that describe misbehaving functionality
Describe the bug
MockDirectory.Delete recursive does not consider nested files which MockFileData.AllowedFileShare property does not allow delete operation.
To Reproduce
The following test reproduces the error:
Expected behavior
I'm not sure if this is indeed a bug or I didn't understand the semantics of the
AllowedFileShare
property, but the behaviour seems inconsistent. In case it's a bug, I'd be happy to open a PR for it.Thanks!
The text was updated successfully, but these errors were encountered: