8000 Can't compare tree entry changes purely by object reference any more · libgit2/libgit2sharp@53b267b · GitHub
[go: up one dir, main page]

Skip to content

Commit 53b267b

Browse files
committed
Can't compare tree entry changes purely by object reference any more
1 parent f916e79 commit 53b267b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LibGit2Sharp.Tests/DiffTreeToTreeFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public void CanCompareACommitTreeAgainstItsParent()
7272
Assert.Equal("1.txt", treeEntryChanges.Path);
7373
Assert.Equal(ChangeKind.Added, treeEntryChanges.Status);
7474

75-
Assert.Equal(treeEntryChanges, changes.Added.Single());
75+
Assert.Equal(treeEntryChanges.Path, changes.Added.Single().Path);
7676

7777
Assert.Equal(Mode.Nonexistent, treeEntryChanges.OldMode);
7878
}

0 commit comments

Comments
 (0)
0