From 30b347861101a4a3f38a009ed8ef8b50860472ae Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Fri, 2 Oct 2020 06:51:11 +1000 Subject: [PATCH] fix test --- pkg/commands/git_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/commands/git_test.go b/pkg/commands/git_test.go index 45c1c9b7b..cab1ba39f 100644 --- a/pkg/commands/git_test.go +++ b/pkg/commands/git_test.go @@ -1064,7 +1064,7 @@ func TestGitCommandUnstageFile(t *testing.T) { "Remove an untracked file from staging", func(cmd string, args ...string) *exec.Cmd { assert.EqualValues(t, "git", cmd) - assert.EqualValues(t, []string{"rm", "--cached", "test.txt"}, args) + assert.EqualValues(t, []string{"rm", "--cached", "--force", "test.txt"}, args) return exec.Command("echo") },