Capture loop var in TestClientDisabledRedirects (#20466)
This commit is contained in:
parent
fda0a731fc
commit
410735e88c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue