diff --git a/modules/caddyhttp/metrics_test.go b/modules/caddyhttp/metrics_test.go index 78e380b6..95f6d9b6 100644 --- a/modules/caddyhttp/metrics_test.go +++ b/modules/caddyhttp/metrics_test.go @@ -94,8 +94,8 @@ func TestSanitizeMethod(t *testing.T) { {method: "OPTIONS", expected: "OPTIONS"}, {method: "connect", expected: "CONNECT"}, {method: "trace", expected: "TRACE"}, - {method: "UNKNOWN", expected: "other"}, - {method: strings.Repeat("ohno", 9999), expected: "other"}, + {method: "UNKNOWN", expected: "OTHER"}, + {method: strings.Repeat("ohno", 9999), expected: "OTHER"}, } for _, d := range tests {