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 e5f24be commit 60ef842Copy full SHA for 60ef842
LibGit2Sharp.Tests/ResetHeadFixture.cs
@@ -18,7 +18,7 @@ public void ResetANewlyInitializedRepositoryThrows(bool isBare)
18
19
using (var repo = new Repository(repoPath))
20
{
21
- Assert.Throws<LibGit2SharpException>(() => repo.Reset(ResetMode.Soft));
+ Assert.Throws<UnbornBranchException>(() => repo.Reset(ResetMode.Soft));
22
}
23
24
LibGit2Sharp.Tests/ResetIndexFixture.cs
@@ -25,7 +25,7 @@ public void ResetANewlyInitializedNonBareRepositoryThrows()
25
26
27
28
- Assert.Throws<LibGit2SharpException>(() => repo.Reset());
+ Assert.Throws<UnbornBranchException>(() => repo.Reset());
29
30
31
0 commit comments