Skip to content

Conversation

@wleader
Copy link
Contributor

@wleader wleader commented May 7, 2018

… file in a directory that does not exist.

When creating a file in a real file system on Windows, if the filename is in a directory that does not exist, a DirectoryNotFoundException would be thrown. This change, causes the MockFile to behave in the same way.

Additionally some other tests had to be updated. These tests did not tell the mock filesystem that the directory existed before attempting the create.

… file in a directory that does not exist.

When creating a file in a real file system on Windows, if the filename is in a directory that does not exist, a DirectoryNotFoundException would be thrown. This change, causes the MockFile to behave in the same way.

Additionally some other tests had to be updated. These tests did not tell the mock filesystem that the directory existed before attempting the create.
@wleader
Copy link
Contributor Author

wleader commented May 7, 2018

This request resolves the issue #278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants