Capture loop var in TestClientDisabledRedirects (#20466)

This commit is contained in:
Mike Palmiotto
2023-05-02 13:53:30 -04:00
committed by GitHub
parent f4689b1d85
commit 60c3527884

View File

@@ -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