Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2022-04-08 04:55:27 +0300
committerJaime Martinez <jmartinez@gitlab.com>2022-04-08 04:55:27 +0300
commit0cdba9e694b9cef2bb09a7795a71db7706610a7c (patch)
treed359fbdda1811ec348718355541e9e62a34f0ed9 /internal
parentf31927ca19ae769608905cfa4657685758b8d594 (diff)
chore: fix linter issues
Diffstat (limited to 'internal')
-rw-r--r--internal/artifact/artifact_test.go3
1 files changed, 1 insertions, 2 deletions
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)
-
}