We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bcbe88 commit ba1bb21Copy full SHA for ba1bb21
LibGit2Sharp.Tests/CloneFixture.cs
@@ -69,6 +69,15 @@ public void CanCloneALocalRepositoryFromAStandardPath()
69
AssertLocalClone(BareTestRepoPath);
70
}
71
72
+ [Fact]
73
+ public void CanCloneALocalRepositoryFromANewlyCreatedTemporaryPath()
74
+ {
75
+ var path = Path.Combine(Path.GetTempPath(), Guid.NewGuid().ToString().Substring(0, 8));
76
+ SelfCleaningDirectory scd = BuildSelfCleaningDirectory(path);
77
+ Repository.Init(scd.DirectoryPath);
78
+ AssertLocalClone(scd.DirectoryPath, isCloningAnEmptyRepository: true);
79
+ }
80
+
81
[Theory]
82
[InlineData("http://github.com/libgit2/TestGitRepository")]
83
[InlineData("https://github.com/libgit2/TestGitRepository")]
0 commit comments