We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11ec3c8 commit 1074405Copy full SHA for 1074405
1 file changed
TestHelpers.Tests/MockDirectoryTests.cs
@@ -383,11 +383,7 @@ public void MockDirectory_Exists_ShouldReturnTrueForFolderContainingFileAddedToM
383
public void MockDirectory_Exists_ShouldReturnFalseForIllegalPath(string path)
384
{
385
// Arrange
386
- var fileSystem = new MockFileSystem(new Dictionary<string, MockFileData>
387
- {
388
- { @"c:\foo\bar.txt", new MockFileData("Demo text content") },
389
- { @"c:\baz.txt", new MockFileData("Demo text content") }
390
- });
+ var fileSystem = new MockFileSystem();
391
392
// Act
393
var result = fileSystem.Directory.Exists(path);
0 commit comments