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:
authorKeith Dahlby <dahlbyk@gmail.com>2014-09-01 07:38:46 +0400
committerKeith Dahlby <dahlbyk@gmail.com>2014-09-05 20:16:07 +0400
commitc9157e4f8f57a7f745078f4c51a9153d6364d844 (patch)
tree03863e237e7ff89b07ef130aea95ad8e259d1c0f /LibGit2Sharp.Tests/BranchFixture.cs
parent547daba273b2b23febb9860406453c8bc3ab4290 (diff)
Add IBelongToARepository with some implementations
Diffstat (limited to 'LibGit2Sharp.Tests/BranchFixture.cs')
-rw-r--r--LibGit2Sharp.Tests/BranchFixture.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/LibGit2Sharp.Tests/BranchFixture.cs b/LibGit2Sharp.Tests/BranchFixture.cs
index d954e6a5..0aef1a27 100644
--- a/LibGit2Sharp.Tests/BranchFixture.cs
+++ b/LibGit2Sharp.Tests/BranchFixture.cs
@@ -75,6 +75,7 @@ namespace LibGit2Sharp.Tests
// The branch now exists...
Branch orphan = repo.Branches["orphan"];
Assert.NotNull(orphan);
+ AssertBelongsToARepository(repo, orphan);
// ...and points to that newly created commit
Assert.Equal(c, orphan.Tip);
@@ -489,6 +490,7 @@ namespace LibGit2Sharp.Tests
Assert.True(master.IsTracking);
Assert.NotNull(master.TrackedBranch);
+ AssertBelongsToARepository(repo, master.TrackedBranch);
Assert.NotNull(master.TrackingDetails);
Assert.Equal(9, master.TrackingDetails.AheadBy);