Remove unnecessary copies of loop variables (#28138)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b6bd92f90e
Коммит
d9e47522a0
@@ -57,8 +57,6 @@ func TestMetricsRouter(t *testing.T) {
|
||||
"pprof trace": {path: "/debug/pprof/trace"},
|
||||
} {
|
||||
t.Run(name, func(t *testing.T) {
|
||||
name := name // TODO: Remove once go1.22 is used
|
||||
tc := tc // TODO: Remove once go1.22 is used
|
||||
t.Parallel()
|
||||
|
||||
method := http.MethodGet
|
||||
|
||||
Ссылка в новой задаче
Block a user