summaryrefslogtreecommitdiff
path: root/index_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'index_test.go')
-rw-r--r--index_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/index_test.go b/index_test.go
index b853ebf..cbcdaa5 100644
--- a/index_test.go
+++ b/index_test.go
@@ -11,7 +11,7 @@ func TestCreateRepoAndStage(t *testing.T) {
// figure out where we can create the test repo
path, err := ioutil.TempDir("", "git2go")
checkFatal(t, err)
- repo, err := Init(path, false)
+ repo, err := InitRepository(path, false)
checkFatal(t, err)
tmpfile := "README"