mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user