mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 11:08:10 +00:00
Capture loop var in TestClientDisabledRedirects (#20466)
This commit is contained in:
@@ -225,6 +225,7 @@ func TestClientDisableRedirects(t *testing.T) {
|
|||||||
|
|
||||||
for name, tc := range tests {
|
for name, tc := range tests {
|
||||||
test := tc
|
test := tc
|
||||||
|
name := name
|
||||||
t.Run(name, func(t *testing.T) {
|
t.Run(name, func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
numReqs := 0
|
numReqs := 0
|
||||||
|
|||||||
Reference in New Issue
Block a user