Update modules/caddyhttp/metrics_test.go

This commit is contained in:
Francis Lavoie
2022-01-23 01:17:14 -05:00
committed by Dave Henderson
parent 042abeb431
commit da4a759bad

View File

@@ -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 {