diff options
author | Metalrom <romain.magny@gmail.com> | 2013-01-07 18:52:18 +0400 |
---|---|---|
committer | Metalrom <romain.magny@gmail.com> | 2013-01-10 17:18:41 +0400 |
commit | d71f7561dd8ac5e7e6636f380a25d3fd1b4e5087 (patch) | |
tree | 1bf00462a13916aeb9829564d88f1e41e7a701a6 /LibGit2Sharp.Tests/BranchFixture.cs | |
parent | 0114a7c04ebe01c8c3b4cdcf9388d7212c6aba1e (diff) |
Add NameConflictException as wrapper for EEXIST native exception
Diffstat (limited to 'LibGit2Sharp.Tests/BranchFixture.cs')
-rw-r--r-- | LibGit2Sharp.Tests/BranchFixture.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LibGit2Sharp.Tests/BranchFixture.cs b/LibGit2Sharp.Tests/BranchFixture.cs index fc321c3c..95010aad 100644 --- a/LibGit2Sharp.Tests/BranchFixture.cs +++ b/LibGit2Sharp.Tests/BranchFixture.cs @@ -552,7 +552,7 @@ namespace LibGit2Sharp.Tests { using (var repo = new Repository(BareTestRepoPath)) { - Assert.Throws<LibGit2SharpException>(() => repo.Branches.Move("br2", "test")); + Assert.Throws<NameConflictException>(() => repo.Branches.Move("br2", "test")); } } |