Skip to content

Commit a9c9227

Browse files
Test cleanup
1 parent b23408c commit a9c9227

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

src/GitVersionCore.Tests/DynamicRepositoryTests.cs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,14 @@ public void Cleanup()
4040
[TestCase("Ctl_develop", "https://github.com/Catel/Catel", "develop", "0e2b6c125a730d2fa5e24394ef64abe62c98e9e9", "5.12.0-alpha.188")]
4141
[TestCase("Ctl_develop", "https://github.com/Catel/Catel", "develop", "71e71359f37581784e18c94e7a45eee72cbeeb30", "5.12.0-alpha.192")]
4242
[TestCase("Ctl_master", "https://github.com/Catel/Catel", "master", "f5de8964c35180a5f8607f5954007d5828aa849f", "5.10.0")]
43-
[TestCase("CtlA_develop", "https://github.com/Catel/Catel.Analyzers", "develop", "0e2b6c125a730d2fa5e24394ef64abe62c98e9e9", "5.12.0-alpha.188")]
44-
[TestCase("CtlA_develop", "https://github.com/Catel/Catel.Analyzers", "develop", "be0aa94642d6ff1df6209e2180a7fe0de9aab384", "5.12.0-alpha.192")]
43+
[TestCase("CtlA_develop", "https://github.com/Catel/Catel.Analyzers", "develop", "0e2b6c125a730d2fa5e24394ef64abe62c98e9e9", "0.1.0-alpha.21")]
44+
[TestCase("CtlA_develop", "https://github.com/Catel/Catel.Analyzers", "develop", "be0aa94642d6ff1df6209e2180a7fe0de9aab384", "0.1.0-alpha.23")]
4545
public void FindsVersionInDynamicRepo(string name, string url, string targetBranch, string commitId, string expectedFullSemVer)
4646
{
4747
var root = Path.Combine(workDirectory, name);
4848
var dynamicDirectory = Path.Combine(root, "D"); // dynamic, keeping directory as short as possible
4949
var workingDirectory = Path.Combine(root, "W"); // working, keeping directory as short as possible
5050

51-
//// Clear upfront
52-
//if (Directory.Exists(root))
53-
//{
54-
// Directory.Delete(root, true);
55-
//}
56-
5751
Directory.CreateDirectory(dynamicDirectory);
5852
Directory.CreateDirectory(workingDirectory);
5953

0 commit comments

Comments
 (0)