1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-23 00:18:47 +00:00

Remove invalid DirectoryInfo.Clear test

This commit is contained in:
Oliver Booth 2022-12-01 12:28:05 +00:00
parent 0ba7781462
commit 9c2f77b203
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634

View File

@ -39,14 +39,6 @@ public class DirectoryInfoTests
directory.Delete(); directory.Delete();
} }
[TestMethod]
public void Clear_ShouldDoNothing_GivenNonExistentDirectory()
{
var directory = new DirectoryInfo(@"/@12#3");
Assert.IsFalse(directory.Exists);
directory.Clear();
}
[TestMethod] [TestMethod]
public void Clear_ShouldThrowArgumentNullException_GivenNull() public void Clear_ShouldThrowArgumentNullException_GivenNull()
{ {