@marcel91200 / caddy Mirror · read-only / commits / da4a759b
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, 23:00 UTC

Update modules/caddyhttp/metrics_test.go

Francis Lavoie committed Jan 23, 2022 at 01:17 UTC da4a759bad70cae9f4f1f38a03c26f75aa04352f
1 file changed +2 -2
modules/caddyhttp/metrics_test.go
+2 -2
@@ -94,8 +94,8 @@ func TestSanitizeMethod(t *testing.T) {
94 {method: "OPTIONS", expected: "OPTIONS"},
95 {method: "connect", expected: "CONNECT"},
96 {method: "trace", expected: "TRACE"},
97 - {method: "UNKNOWN", expected: "other"},
98 - {method: strings.Repeat("ohno", 9999), expected: "other"},
97 + {method: "UNKNOWN", expected: "OTHER"},
98 + {method: strings.Repeat("ohno", 9999), expected: "OTHER"},
99 }
100
101 for _, d := range tests {