Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseduffield committed Mar 24, 2020
1 parent 30a5d1b commit 32d3e49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/commands/git_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ func TestGitCommandResetToCommit(t *testing.T) {
return exec.Command("echo")
}

assert.NoError(t, gitCmd.ResetToCommit("78976bc", "hard"))
assert.NoError(t, gitCmd.ResetToCommit("78976bc", "hard", RunCommandOptions{}))
}

// TestGitCommandNewBranch is a function.
Expand Down Expand Up @@ -1439,7 +1439,7 @@ func TestGitCommandCheckout(t *testing.T) {
t.Run(s.testName, func(t *testing.T) {
gitCmd := NewDummyGitCommand()
gitCmd.OSCommand.command = s.command
s.test(gitCmd.Checkout("test", s.force))
s.test(gitCmd.Checkout("test", CheckoutOptions{Force: s.force}))
})
}
}
Expand Down

0 comments on commit 32d3e49

Please sign in to comment.