We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 167fa55 commit 8e5c177Copy full SHA for 8e5c177
LibGit2Sharp.Tests/CloneFixture.cs
@@ -302,7 +302,7 @@ public void CloningAnUrlWithoutPathThrows()
302
{
303
var scd = BuildSelfCleaningDirectory();
304
305
- Assert.Throws<InvalidSpecificationException>(() => Repository.Clone("http://github.com", scd.DirectoryPath));
+ Assert.ThrowsAny<LibGit2SharpException>(() => Repository.Clone("http://github.com", scd.DirectoryPath));
306
}
307
308
[Theory]
0 commit comments