From 0740409f43bfc2fb154c65aaece7abeca78d1e9b Mon Sep 17 00:00:00 2001 From: Ryooooooga Date: Fri, 13 Aug 2021 22:15:06 +0900 Subject: [PATCH] fix test --- pkg/commands/files_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/commands/files_test.go b/pkg/commands/files_test.go index fd4b9f69f..01c1a6793 100644 --- a/pkg/commands/files_test.go +++ b/pkg/commands/files_test.go @@ -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", }, {