Skip to content

Commit 962f66e

Browse files
committed
Cleanup temporary test repos before each test run
1 parent 1ae17a3 commit 962f66e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

LibGit2Sharp.Tests/TestHelpers/BaseFixture.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ static BaseFixture()
1919
{
2020
// Do the set up in the static ctor so it only happens once
2121
SetUpTestEnvironment();
22+
23+
DirectoryHelper.DeleteSubdirectories(Constants.TemporaryReposPath);
2224
}
2325

2426
public static string BareTestRepoPath { get; private set; }

0 commit comments

Comments
 (0)