mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-02-03 13:21:56 +02:00
fix test
This commit is contained in:
parent
37700908cc
commit
0740409f43
@ -455,7 +455,7 @@ func TestGitCommandCheckoutFile(t *testing.T) {
|
|||||||
"test999.txt",
|
"test999.txt",
|
||||||
test.CreateMockCommand(t, []*test.CommandSwapper{
|
test.CreateMockCommand(t, []*test.CommandSwapper{
|
||||||
{
|
{
|
||||||
Expect: "git checkout 11af912 test999.txt",
|
Expect: "git checkout 11af912 -- test999.txt",
|
||||||
Replace: "echo",
|
Replace: "echo",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
@ -469,7 +469,7 @@ func TestGitCommandCheckoutFile(t *testing.T) {
|
|||||||
"test999.txt",
|
"test999.txt",
|
||||||
test.CreateMockCommand(t, []*test.CommandSwapper{
|
test.CreateMockCommand(t, []*test.CommandSwapper{
|
||||||
{
|
{
|
||||||
Expect: "git checkout 11af912 test999.txt",
|
Expect: "git checkout 11af912 -- test999.txt",
|
||||||
Replace: "test",
|
Replace: "test",
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
@ -606,7 +606,7 @@ func TestGitCommandDiscardOldFileChanges(t *testing.T) {
|
|||||||
Replace: "echo",
|
Replace: "echo",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Expect: "git checkout HEAD^ test999.txt",
|
Expect: "git checkout HEAD^ -- test999.txt",
|
||||||
Replace: "echo",
|
Replace: "echo",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user