mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
rename sha to hash
This commit is contained in:
parent
84333eebc3
commit
e6ef1642fa
32 changed files with 470 additions and 470 deletions
|
@ -131,7 +131,7 @@ func TestRebaseDiscardOldFileChanges(t *testing.T) {
|
|||
{
|
||||
testName: "returns error when using gpg",
|
||||
gitConfigMockResponses: map[string]string{"commit.gpgsign": "true"},
|
||||
commits: []*models.Commit{{Name: "commit", Sha: "123456"}},
|
||||
commits: []*models.Commit{{Name: "commit", Hash: "123456"}},
|
||||
commitIndex: 0,
|
||||
fileName: []string{"test999.txt"},
|
||||
runner: oscommands.NewFakeRunner(t),
|
||||
|
@ -143,8 +143,8 @@ func TestRebaseDiscardOldFileChanges(t *testing.T) {
|
|||
testName: "checks out file if it already existed",
|
||||
gitConfigMockResponses: nil,
|
||||
commits: []*models.Commit{
|
||||
{Name: "commit", Sha: "123456"},
|
||||
{Name: "commit2", Sha: "abcdef"},
|
||||
{Name: "commit", Hash: "123456"},
|
||||
{Name: "commit2", Hash: "abcdef"},
|
||||
},
|
||||
commitIndex: 0,
|
||||
fileName: []string{"test999.txt"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue