chore: bump golangci-lint and fix all linting issues (#21761)
This commit is contained in:
@@ -140,7 +140,6 @@ func TestDurationOutOfRange(t *testing.T) {
|
||||
},
|
||||
}
|
||||
for _, tc := range tt {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
val := protoreflect.ValueOfMessage(tc.dur.ProtoReflect())
|
||||
@@ -272,7 +271,6 @@ func TestDurationCompare(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tc := range tt {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
|
||||
|
||||
@@ -114,7 +114,6 @@ func TestTimestampOutOfRange(t *testing.T) {
|
||||
},
|
||||
}
|
||||
for _, tc := range tt {
|
||||
tc := tc
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
val := protoreflect.ValueOfMessage(tc.ts.ProtoReflect())
|
||||
|
||||
Reference in New Issue
Block a user