From fcd6c468c4089826ae2bb3a46474bd7d5eb7b6fc Mon Sep 17 00:00:00 2001 From: Marco Mariani Date: Tue, 31 Oct 2023 13:12:14 +0100 Subject: [PATCH] fix lint --- pkg/cwhub/hub_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/cwhub/hub_test.go b/pkg/cwhub/hub_test.go index acaa0ec31..779bc2542 100644 --- a/pkg/cwhub/hub_test.go +++ b/pkg/cwhub/hub_test.go @@ -58,6 +58,7 @@ func TestDownloadIndex(t *testing.T) { } err = hub.remote.DownloadIndex(tmpIndex.Name()) + require.NoError(t, err) // XXX: this is not failing // cstest.RequireErrorContains(t, err, "failed http request for hub index: Get")