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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToon Claes <toon@gitlab.com>2024-01-23 18:12:14 +0300
committerGitLab <noreply@gitlab.com>2024-01-23 18:12:14 +0300
commite6f35c6b67903143dd3657d880b768eb10653fa7 (patch)
tree71d3183fb2df292601c3a513be20026e9ec335dd /internal/git/signature_test.go
parent4261fb1dccde53037494d42745c59583f6644553 (diff)
parent353daaee5bf099647db744572c7f7cabf965d42a (diff)
Merge branch 'deterministic-gpg-signature' into 'master'
fix: deterministic gpg signature See merge request https://gitlab.com/gitlab-org/gitaly/-/merge_requests/6621 Merged-by: Toon Claes <toon@gitlab.com> Approved-by: karthik nayak <knayak@gitlab.com> Approved-by: Toon Claes <toon@gitlab.com> Reviewed-by: karthik nayak <knayak@gitlab.com> Co-authored-by: Adrien <adrien@huggingface.co>
Diffstat (limited to 'internal/git/signature_test.go')
-rw-r--r--internal/git/signature_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/git/signature_test.go b/internal/git/signature_test.go
index 6a98d64d7..8fc1f9294 100644
--- a/internal/git/signature_test.go
+++ b/internal/git/signature_test.go
@@ -114,7 +114,7 @@ func TestFormatTime(t *testing.T) {
// We use `time.ParseInLocation()` here such that Go won't automatically translate e.g. `+0200`
// into "CEST" or `time.Local`.
- actualParsedTime, err := time.ParseInLocation(rfc2822DateFormat, actualString, time.FixedZone("", 0))
+ actualParsedTime, err := time.ParseInLocation(Rfc2822DateFormat, actualString, time.FixedZone("", 0))
require.NoError(t, err)
require.Equal(t, tc.expectedParsedTime, actualParsedTime)