@marcel91200 / caddy Mirror · read-only / commits / 201b9b41
Fork 0

Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS

Mirrored from https://github.com/Slazee/caddy.git

Synced Nov 13, 06:45 UTC

chore: Fix warning "range variable captured by func literal" (#5348)

Francis Lavoie committed Jan 31, 2023 at 03:07 UTC 201b9b41f98aa28d7d0ad223bf3614b78312690d
1 file changed +1
modules/caddyhttp/matchers_test.go
+1
@@ -929,6 +929,7 @@ func TestVarREMatcher(t *testing.T) {
929 expect: true,
930 },
931 } {
932 + i := i // capture range value
933 tc := tc // capture range value
934 t.Run(tc.desc, func(t *testing.T) {
935 t.Parallel()