aboutsummaryrefslogtreecommitdiffstats
path: root/api/http/git_file_handlers_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'api/http/git_file_handlers_test.go')
-rw-r--r--api/http/git_file_handlers_test.go3
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 7be4aff6..8319da32 100644
--- a/api/http/git_file_handlers_test.go
+++ b/api/http/git_file_handlers_test.go
@@ -22,8 +22,7 @@ func TestGitFileHandlers(t *testing.T) {
repo := repository.CreateGoGitTestRepo(t, false)
mrc := cache.NewMultiRepoCache()
- repoCache, events, err := mrc.RegisterDefaultRepository(repo)
- require.NoError(t, err)
+ repoCache, events := mrc.RegisterDefaultRepository(repo)
for event := range events {
require.NoError(t, event.Err)
}