mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@ -100,7 +100,6 @@ func TestParseCLISchedule(t *testing.T) {
|
||||
expectedError: errInvalidTimeFormat.Error(),
|
||||
},
|
||||
} {
|
||||
testCase := testCase
|
||||
//nolint:paralleltest // t.Setenv
|
||||
t.Run(testCase.name, func(t *testing.T) {
|
||||
t.Setenv("TZ", testCase.tzEnv)
|
||||
|
Reference in New Issue
Block a user