mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-16 21:56:40 -05:00
Update modules/caddyhttp/metrics_test.go
This commit is contained in:
parent
042abeb431
commit
da4a759bad
1 changed files with 2 additions and 2 deletions
|
@ -94,8 +94,8 @@ func TestSanitizeMethod(t *testing.T) {
|
||||||
{method: "OPTIONS", expected: "OPTIONS"},
|
{method: "OPTIONS", expected: "OPTIONS"},
|
||||||
{method: "connect", expected: "CONNECT"},
|
{method: "connect", expected: "CONNECT"},
|
||||||
{method: "trace", expected: "TRACE"},
|
{method: "trace", expected: "TRACE"},
|
||||||
{method: "UNKNOWN", expected: "other"},
|
{method: "UNKNOWN", expected: "OTHER"},
|
||||||
{method: strings.Repeat("ohno", 9999), expected: "other"},
|
{method: strings.Repeat("ohno", 9999), expected: "OTHER"},
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, d := range tests {
|
for _, d := range tests {
|
||||||
|
|
Loading…
Reference in a new issue