mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
rename Sha to parent now that we're also considering stash entries
This commit is contained in:
@ -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)
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user