mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-09 22:55:42 +00:00
Remove invalid DirectoryInfo.Clear test
This commit is contained in:
parent
0ba7781462
commit
9c2f77b203
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user