mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
safer test cleanup
This commit is contained in:
@@ -23,7 +23,8 @@ namespace mRemoteNGTests.Config.DataProviders
|
||||
public void Teardown()
|
||||
{
|
||||
var tempFilePath = FileTestHelpers.GetAppSpecificTempDirectory();
|
||||
Directory.Delete(tempFilePath, true);
|
||||
if (Directory.Exists(tempFilePath))
|
||||
Directory.Delete(tempFilePath, true);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user