1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-24 05:36:19 +02:00
This commit is contained in:
Ryooooooga 2021-08-13 22:15:06 +09:00
parent 37700908cc
commit 0740409f43
No known key found for this signature in database
GPG Key ID: 07CF200DFCC20C25

View File

@ -455,7 +455,7 @@ func TestGitCommandCheckoutFile(t *testing.T) {
"test999.txt",
test.CreateMockCommand(t, []*test.CommandSwapper{
{
Expect: "git checkout 11af912 test999.txt",
Expect: "git checkout 11af912 -- test999.txt",
Replace: "echo",
},
}),
@ -469,7 +469,7 @@ func TestGitCommandCheckoutFile(t *testing.T) {
"test999.txt",
test.CreateMockCommand(t, []*test.CommandSwapper{
{
Expect: "git checkout 11af912 test999.txt",
Expect: "git checkout 11af912 -- test999.txt",
Replace: "test",
},
}),
@ -606,7 +606,7 @@ func TestGitCommandDiscardOldFileChanges(t *testing.T) {
Replace: "echo",
},
{
Expect: "git checkout HEAD^ test999.txt",
Expect: "git checkout HEAD^ -- test999.txt",
Replace: "echo",
},
{