diff options
Diffstat (limited to 'api/http/git_file_handlers_test.go')
-rw-r--r-- | api/http/git_file_handlers_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/api/http/git_file_handlers_test.go b/api/http/git_file_handlers_test.go index 68c1542f..736bf75e 100644 --- a/api/http/git_file_handlers_test.go +++ b/api/http/git_file_handlers_test.go @@ -19,8 +19,7 @@ import ( ) func TestGitFileHandlers(t *testing.T) { - repo := repository.CreateGoGitTestRepo(false) - defer repository.CleanupTestRepos(repo) + repo := repository.CreateGoGitTestRepo(t, false) mrc := cache.NewMultiRepoCache() repoCache, err := mrc.RegisterDefaultRepository(repo) |