Skip to content

Commit

Permalink
Capture loop var in TestClientDisabledRedirects (#20466)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpalmi authored May 2, 2023
1 parent f4689b1 commit 60c3527
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ func TestClientDisableRedirects(t *testing.T) {

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

0 comments on commit 60c3527

Please sign in to comment.