Skip to content

Commit

Permalink
fix(lint): avoid range variable being captured by func literal (#411)
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist authored Mar 15, 2023
1 parent a07f56b commit 96c5315
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fastly/purge_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ func TestROParams(t *testing.T) {
}

for name, tc := range tests {
tc := tc
t.Run(name, func(t *testing.T) {
t.Parallel()
want := tc.output
Expand Down

0 comments on commit 96c5315

Please sign in to comment.