diff options
author | Steve Moyer <smoyer1@selesy.com> | 2022-06-22 10:46:52 -0400 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2022-06-22 10:46:52 -0400 |
commit | 323dd0e293fb965743269fe52c8335b3d7a7bb94 (patch) | |
tree | 2de91e4b74e0d2c272b1191785d6e308c3adbf60 /repository/gogit_test.go | |
parent | 6fc6a0f0ab8ce8c7b6ec510d1d7557a6e7cd6835 (diff) | |
download | git-bug-323dd0e293fb965743269fe52c8335b3d7a7bb94.tar.gz |
test(809): do not export function that returns GoGit filesystem
Diffstat (limited to 'repository/gogit_test.go')
-rw-r--r-- | repository/gogit_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/repository/gogit_test.go b/repository/gogit_test.go index 5d3378b7..a3de0a03 100644 --- a/repository/gogit_test.go +++ b/repository/gogit_test.go @@ -12,13 +12,13 @@ import ( func TestNewGoGitRepo(t *testing.T) { // Plain plainRepo := CreateGoGitTestRepo(t, false) - plainRoot := RepoDir(t, plainRepo) + plainRoot := goGitRepoDir(t, plainRepo) require.NoError(t, plainRepo.Close()) plainGitDir := filepath.Join(plainRoot, ".git") // Bare bareRepo := CreateGoGitTestRepo(t, true) - bareRoot := RepoDir(t, bareRepo) + bareRoot := goGitRepoDir(t, bareRepo) require.NoError(t, bareRepo.Close()) bareGitDir := bareRoot @@ -62,7 +62,7 @@ func TestGoGitRepo(t *testing.T) { func TestGoGitRepo_Indexes(t *testing.T) { repo := CreateGoGitTestRepo(t, false) - plainRoot := RepoDir(t, repo) + plainRoot := goGitRepoDir(t, repo) // Can create indices indexA, err := repo.GetBleveIndex("a") |