mirror of
https://github.com/caddyserver/caddy.git
synced 2025-11-01 04:22:36 +08:00
caddyhttp: omit unnecessary reassignment (#7276)
Signed-off-by: asttool <asttool@outlook.com>
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user