diff options
Diffstat (limited to 'internal/git/signature_test.go')
-rw-r--r-- | internal/git/signature_test.go | 2 |
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) |