From 9c2f77b203b3abc542ce1acc7ea2447d92449799 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Thu, 1 Dec 2022 12:28:05 +0000 Subject: [PATCH] Remove invalid DirectoryInfo.Clear test --- X10D.Tests/src/IO/DirectoryInfoTests.cs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/X10D.Tests/src/IO/DirectoryInfoTests.cs b/X10D.Tests/src/IO/DirectoryInfoTests.cs index be980ee..58f6616 100644 --- a/X10D.Tests/src/IO/DirectoryInfoTests.cs +++ b/X10D.Tests/src/IO/DirectoryInfoTests.cs @@ -39,14 +39,6 @@ public class DirectoryInfoTests directory.Delete(); } - [TestMethod] - public void Clear_ShouldDoNothing_GivenNonExistentDirectory() - { - var directory = new DirectoryInfo(@"/@12#3"); - Assert.IsFalse(directory.Exists); - directory.Clear(); - } - [TestMethod] public void Clear_ShouldThrowArgumentNullException_GivenNull() {