summaryrefslogtreecommitdiff
path: root/reset_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'reset_test.go')
-rw-r--r--reset_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/reset_test.go b/reset_test.go
index 89ebc49..ff37bfc 100644
--- a/reset_test.go
+++ b/reset_test.go
@@ -37,7 +37,7 @@ func TestResetToCommit(t *testing.T) {
commitToResetTo, err := repo.LookupCommit(commitId)
checkFatal(t, err)
- repo.ResetToCommit(commitToResetTo, ResetHard, &CheckoutOpts{})
+ repo.ResetToCommit(commitToResetTo, ResetHard, &CheckoutOptions{})
// check that the file now reads "testing reset" like it did before
bytes, err := ioutil.ReadFile(pathInRepo(repo, "README"))