aboutsummaryrefslogtreecommitdiff
path: root/internal/testing
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testing')
-rw-r--r--internal/testing/integration/frontend_test.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/testing/integration/frontend_test.go b/internal/testing/integration/frontend_test.go
index c64bbb66..ffeb9783 100644
--- a/internal/testing/integration/frontend_test.go
+++ b/internal/testing/integration/frontend_test.go
@@ -100,7 +100,6 @@ func processVersions(ctx context.Context, t *testing.T, testModules []*proxytest
func fetchAndInsertModule(ctx context.Context, t *testing.T, tm *proxytest.Module, proxyClient *proxy.Client) {
sourceClient := source.NewClient(1 * time.Second)
res := fetch.FetchModule(ctx, tm.ModulePath, tm.Version, fetch.NewProxyModuleGetter(proxyClient), sourceClient)
- defer res.Defer()
if res.Error != nil {
t.Fatal(res.Error)
}