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:
authornulltoken <emeric.fermas@gmail.com>2015-04-15 20:44:52 +0300
committernulltoken <emeric.fermas@gmail.com>2015-04-15 20:44:52 +0300
commit420bc9123a9354cd7c2b3aba34e9c037277bedd3 (patch)
tree951874f68b6789448e84c8054657f5b30d9b04d7 /LibGit2Sharp.Tests/CheckoutFixture.cs
parent7027de2f569667ddbe21115f9a3c34ce0df59743 (diff)
parent2b4459b992dd72020a213ba37a84eb7bebb5f366 (diff)
Merge pull request #1020 from libgit2/ntk/short
Obsolete ReferenceWrapper.Name in favor of FriendlyName
Diffstat (limited to 'LibGit2Sharp.Tests/CheckoutFixture.cs')
-rw-r--r--LibGit2Sharp.Tests/CheckoutFixture.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGit2Sharp.Tests/CheckoutFixture.cs b/LibGit2Sharp.Tests/CheckoutFixture.cs
index 448ae2c3..d0c1e8e5 100644
--- a/LibGit2Sharp.Tests/CheckoutFixture.cs
+++ b/LibGit2Sharp.Tests/CheckoutFixture.cs
@@ -128,7 +128,7 @@ namespace LibGit2Sharp.Tests
Assert.True(detachedHead.IsCurrentRepositoryHead);
Assert.False(detachedHead.IsRemote);
- Assert.Equal(detachedHead.Name, detachedHead.CanonicalName);
+ Assert.Equal(detachedHead.FriendlyName, detachedHead.CanonicalName);
Assert.Equal("(no branch)", detachedHead.CanonicalName);
@@ -793,7 +793,7 @@ namespace LibGit2Sharp.Tests
// Assert reflog entry is created
AssertRefLogEntry(repo, "HEAD",
- string.Format("checkout: moving from {0} to {1}", initialHead.Tip.Sha, newHead.Name),
+ string.Format("checkout: moving from {0} to {1}", initialHead.Tip.Sha, newHead.FriendlyName),
initialHead.Tip.Id, newHead.Tip.Id, Constants.Identity, DateTimeOffset.Now);
}
}