mirror of
https://github.com/caddyserver/caddy.git
synced 2025-10-19 15:53:17 +00:00
caddyhttp: omit unnecessary reassignment (#7276)
Signed-off-by: asttool <asttool@outlook.com>
This commit is contained in:
parent
1e82f9652e
commit
bc0e184130
1 changed files with 0 additions and 1 deletions
|
@ -992,7 +992,6 @@ func TestVarREMatcher(t *testing.T) {
|
||||||
expect: true,
|
expect: true,
|
||||||
},
|
},
|
||||||
} {
|
} {
|
||||||
tc := tc // capture range value
|
|
||||||
t.Run(tc.desc, func(t *testing.T) {
|
t.Run(tc.desc, func(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
// compile the regexp and validate its name
|
// compile the regexp and validate its name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue