We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b74d1 commit a049751Copy full SHA for a049751
tests/TestableIO.System.IO.Abstractions.Wrappers.Tests/DirectoryWrapperTests.cs
@@ -47,4 +47,17 @@ public async Task GetParent_ForSimpleFilePath_ShouldReturnSubfolder()
47
// Assert
48
await That(result.FullName).IsEqualTo(subfolder);
49
}
50
+
51
+ [Test]
52
+ public async Task Exists_RootDirectoryFrontSlash_ShouldBeTrue()
53
+ {
54
+ // Arrange
55
+ var wrapperFilesystem = new FileSystem();
56
57
+ // Act
58
+ var result = wrapperFilesystem.Directory.Exists("/");
59
60
+ // Assert
61
+ await That(result).IsTrue();
62
+ }
63
0 commit comments