From 0cdba9e694b9cef2bb09a7795a71db7706610a7c Mon Sep 17 00:00:00 2001 From: Jaime Martinez Date: Fri, 8 Apr 2022 11:55:27 +1000 Subject: chore: fix linter issues --- internal/artifact/artifact_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal') diff --git a/internal/artifact/artifact_test.go b/internal/artifact/artifact_test.go index db7a2a84..b8c2771b 100644 --- a/internal/artifact/artifact_test.go +++ b/internal/artifact/artifact_test.go @@ -289,11 +289,10 @@ func TestContextCanceled(t *testing.T) { r := &http.Request{URL: reqURL} ctx, cancel := context.WithCancel(context.Background()) r = r.WithContext(ctx) - // cancel context explictly + // cancel context explicitly cancel() art := artifact.New(testServer.URL, 1, "gitlab-example.io") require.True(t, art.TryMakeRequest("group.gitlab-example.io", result, r, "", func(resp *http.Response) bool { return false })) require.Equal(t, http.StatusNotFound, result.Code) - } -- cgit v1.2.3