We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17a02cf commit 924f342Copy full SHA for 924f342
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