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:
@@ -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