Browse Source

Update modules/caddyhttp/metrics_test.go

master
Francis Lavoie 3 years ago
committed by Dave Henderson
parent
commit
da4a759bad
No known key found for this signature in database GPG Key ID: 765A97405DCE5AFA
  1. 4
      modules/caddyhttp/metrics_test.go

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

Loading…
Cancel
Save