diff options
author | Marius Ungureanu <marius.ungureanu@xamarin.com> | 2014-11-14 20:28:18 +0300 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2014-12-11 18:50:30 +0300 |
commit | 8c48d396da0752fa291b2e2fc9b981674fdfbf8b (patch) | |
tree | f6cff5184f886875686c627a7556e62a3b54f72e /LibGit2Sharp.Tests/BranchFixture.cs | |
parent | 090c6e95b211304af37e54ee34c78f5531705992 (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.cs | 6 |
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")); } } |