mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@ -262,8 +262,6 @@ func TestTemplatePull_ToDir(t *testing.T) {
|
||||
|
||||
// nolint: paralleltest // These tests change the current working dir, and is therefore unsuitable for parallelisation.
|
||||
for _, tc := range tests {
|
||||
tc := tc
|
||||
|
||||
t.Run(tc.name, func(t *testing.T) {
|
||||
dir := t.TempDir()
|
||||
|
||||
|
Reference in New Issue
Block a user