summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-10-02 06:51:11 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-10-02 08:09:42 +1000
commit30b347861101a4a3f38a009ed8ef8b50860472ae (patch)
tree320e8988a57765d1f3bae382bd3dec68e1df3ca9
parentf77ce209e0312d1b08acce401f4959e50c73b8df (diff)
fix test
-rw-r--r--pkg/commands/git_test.go2
1 files changed, 1 insertions, 1 deletions
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")
},