mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: remove unnecessary redeclarations in for loops (#18440)
This commit is contained in:
@ -149,12 +149,9 @@ func TestClaims(t *testing.T) {
|
||||
}
|
||||
|
||||
for _, tt := range types {
|
||||
tt := tt
|
||||
|
||||
t.Run(tt.Name, 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