caddyhttp: omit unnecessary reassignment (#7276)
Signed-off-by: asttool <asttool@outlook.com>pull/7284/head
parent
1e82f9652e
commit
bc0e184130
|
|
@ -992,7 +992,6 @@ func TestVarREMatcher(t *testing.T) {
|
|||
expect: true,
|
||||
},
|
||||
} {
|
||||
tc := tc // capture range value
|
||||
t.Run(tc.desc, func(t *testing.T) {
|
||||
t.Parallel()
|
||||
// compile the regexp and validate its name
|
||||
|
|
|
|||
Loading…
Reference in New Issue