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:
authorfeistel <6742251-feistel@users.noreply.gitlab.com>2021-09-29 01:08:27 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-11-08 18:27:31 +0300
commit03eaa2c1ba7858da8659c23258ce90ac6667e8a7 (patch)
tree13d058c172e9e2fb986b82ea39e9ef2c96afb02b /internal/serving/disk/zip
parent77a733b8af393f81c1143ca27324384b1801a090 (diff)
style: uppercase sha256
SHA is an initialism. See https://github.com/golang/go/wiki/CodeReviewComments#initialisms
Diffstat (limited to 'internal/serving/disk/zip')
-rw-r--r--internal/serving/disk/zip/serving_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/serving/disk/zip/serving_test.go b/internal/serving/disk/zip/serving_test.go
index 66e52046..ed18e6c3 100644
--- a/internal/serving/disk/zip/serving_test.go
+++ b/internal/serving/disk/zip/serving_test.go
@@ -120,7 +120,7 @@ func TestZip_ServeFileHTTP(t *testing.T) {
LookupPath: &serving.LookupPath{
Prefix: "/zip/",
Path: test.vfsPath,
- Sha256: test.sha256,
+ SHA256: test.sha256,
},
SubPath: test.path,
}