summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/git_test.go')
-rw-r--r--pkg/commands/git_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go
index fba4d0482..7a892eec8 100644
--- a/pkg/commands/git_test.go
+++ b/pkg/commands/git_test.go
@@ -1874,8 +1874,8 @@ func TestGitCommandGetFilesInRef(t *testing.T) {
func(commitFiles []*CommitFile, err error) {
assert.NoError(t, err)
assert.Equal(t, []*CommitFile{
- {Sha: "123456", Name: "hello", DisplayString: "hello"},
- {Sha: "123456", Name: "world", DisplayString: "world"},
+ {Parent: "123456", Name: "hello", DisplayString: "hello"},
+ {Parent: "123456", Name: "world", DisplayString: "world"},
}, commitFiles)
},
},