chore: remove unnecessary redeclarations in for loops (#18440)

This commit is contained in:
ケイラ
2025-06-20 13:16:55 -06:00
committed by GitHub
parent 4fe0a4bca2
commit fae30a00fd
200 changed files with 0 additions and 431 deletions
-2
View File
@@ -121,11 +121,9 @@ func TestStart(t *testing.T) {
}
for _, cmd := range []string{"start", "restart"} {
cmd := cmd
t.Run(cmd, func(t *testing.T) {
t.Parallel()
for _, c := range cases {
c := c
t.Run(c.Name, func(t *testing.T) {
t.Parallel()