aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/repo_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/git/repo_test.go')
-rw-r--r--modules/git/repo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/git/repo_test.go b/modules/git/repo_test.go
index e143c1b39d..8ca170cd1f 100644
--- a/modules/git/repo_test.go
+++ b/modules/git/repo_test.go
@@ -23,7 +23,7 @@ func TestGetLatestCommitTime(t *testing.T) {
func TestRepoIsEmpty(t *testing.T) {
emptyRepo2Path := filepath.Join(testReposDir, "repo2_empty")
- repo, err := OpenRepository(emptyRepo2Path)
+ repo, err := openRepositoryWithDefaultContext(emptyRepo2Path)
assert.NoError(t, err)
defer repo.Close()
isEmpty, err := repo.IsEmpty()