Bump golangci version to v1.38.0 (#17154)
* Update golangci to v1.38.0 Co-authored-by: Claudio Costa <cstcld91@gmail.com> Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
2d0f5f910a
Коммит
ccc7365ac3
@@ -76,6 +76,7 @@ func TestTriggerIdDecodeAndVerification(t *testing.T) {
|
||||
|
||||
t.Run("should fail on bad key", func(t *testing.T) {
|
||||
_, triggerId, err := GenerateTriggerId(NewId(), key)
|
||||
require.Nil(t, err)
|
||||
newKey, keyErr := ecdsa.GenerateKey(elliptic.P256(), rand.Reader)
|
||||
require.NoError(t, keyErr)
|
||||
_, _, err = DecodeAndVerifyTriggerId(triggerId, newKey)
|
||||
|
||||
@@ -838,7 +838,8 @@ func TestPostPatchDisableMentionHighlights(t *testing.T) {
|
||||
}
|
||||
for _, tc := range testCases {
|
||||
t.Run(tc.Name, func(t *testing.T) {
|
||||
patch.Message = &tc.Message
|
||||
message := tc.Message
|
||||
patch.Message = &message
|
||||
patch.DisableMentionHighlights()
|
||||
if tc.ExpectedProps == nil {
|
||||
assert.Nil(t, patch.Props)
|
||||
|
||||
Ссылка в новой задаче
Block a user