Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Ungureanu <marius.ungureanu@xamarin.com>2014-11-14 20:28:18 +0300
committerEdward Thomson <ethomson@microsoft.com>2014-12-11 18:50:30 +0300
commit8c48d396da0752fa291b2e2fc9b981674fdfbf8b (patch)
treef6cff5184f886875686c627a7556e62a3b54f72e /LibGit2Sharp.Tests/BranchFixture.cs
parent090c6e95b211304af37e54ee34c78f5531705992 (diff)
Update libgit2 to 4eb97ef
https://github.com/libgit2/libgit2/compare/3f8d005a82b39c504220d65b6a6aa696c3b1a9c4...4eb97ef3bf18403fbce351ae4cac673655d2886a
Diffstat (limited to 'LibGit2Sharp.Tests/BranchFixture.cs')
-rw-r--r--LibGit2Sharp.Tests/BranchFixture.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibGit2Sharp.Tests/BranchFixture.cs b/LibGit2Sharp.Tests/BranchFixture.cs
index 908d0f41..486a43e2 100644
--- a/LibGit2Sharp.Tests/BranchFixture.cs
+++ b/LibGit2Sharp.Tests/BranchFixture.cs
@@ -241,9 +241,9 @@ namespace LibGit2Sharp.Tests
using (var repo = new Repository(BareTestRepoPath))
{
const string name = "sorry-dude-i-do-not-do-blobs-nor-trees";
- Assert.Throws<LibGit2SharpException>(() => repo.CreateBranch(name, "refs/tags/point_to_blob"));
- Assert.Throws<LibGit2SharpException>(() => repo.CreateBranch(name, "53fc32d"));
- Assert.Throws<LibGit2SharpException>(() => repo.CreateBranch(name, "0266163"));
+ Assert.Throws<InvalidSpecificationException>(() => repo.CreateBranch(name, "refs/tags/point_to_blob"));
+ Assert.Throws<InvalidSpecificationException>(() => repo.CreateBranch(name, "53fc32d"));
+ Assert.Throws<InvalidSpecificationException>(() => repo.CreateBranch(name, "0266163"));
}
}