Skip to content

Commit 7d1348b

Browse files
committed
Expect changes for testFile
1 parent 47d97b8 commit 7d1348b

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
@@ -580,7 +580,7 @@ public void CanShowChangesForAFileWithWin1250EncodingContent()
580580
//compare changes
581581
var changes = repo.Diff.Compare<Patch>(repo.Head.Tip.Tree,
582582
DiffTargets.WorkingDirectory,
583-
new[] { testFile }).FirstOrDefault();
583+
new[] { testFile })[testFile];
584584

585585
Assert.NotNull(changes);
586586
string expectedHunkHeader = "@@ -0,0 +1 @@\n+";

0 commit comments

Comments
 (0)