diff --git a/tests/Tgstation.Server.Host.Tests/IO/TestPostWriteHandler.cs b/tests/Tgstation.Server.Host.Tests/IO/TestPostWriteHandler.cs index 7dd1ce45f2..bbd12837f8 100644 --- a/tests/Tgstation.Server.Host.Tests/IO/TestPostWriteHandler.cs +++ b/tests/Tgstation.Server.Host.Tests/IO/TestPostWriteHandler.cs @@ -78,7 +78,7 @@ namespace Tgstation.Server.Host.IO.Tests } finally { - File.Delete(tmpFile); + Directory.Delete(tmpFile); } } }