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:
@ -19,7 +19,6 @@ func TestTemplate(t *testing.T) {
|
||||
require.NoError(t, err, "error listing examples, run \"make gen\" to ensure examples are up to date")
|
||||
require.NotEmpty(t, list)
|
||||
for _, eg := range list {
|
||||
eg := eg
|
||||
t.Run(eg.ID, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
assert.NotEmpty(t, eg.ID, "example ID should not be empty")
|
||||
|
Reference in New Issue
Block a user