diff --git a/tests/Tgstation.Server.Host.Tests/IO/TestPostWriteHandler.cs b/tests/Tgstation.Server.Host.Tests/IO/TestPostWriteHandler.cs index bbd12837f8..7a7f1b4715 100644 --- a/tests/Tgstation.Server.Host.Tests/IO/TestPostWriteHandler.cs +++ b/tests/Tgstation.Server.Host.Tests/IO/TestPostWriteHandler.cs @@ -70,16 +70,6 @@ namespace Tgstation.Server.Host.IO.Tests var tmpFile = Path.GetTempFileName(); File.Delete(tmpFile); Assert.ThrowsException(() => postWriteHandler.HandleWrite(tmpFile)); - Directory.CreateDirectory(tmpFile); - try - { - //can't +x a directory ;) (taps head) - Assert.ThrowsException(() => postWriteHandler.HandleWrite(tmpFile)); - } - finally - { - Directory.Delete(tmpFile); - } } } }