diff options
| author | Francis Lavoie <lavofr@gmail.com> | 2022-01-23 01:17:14 -0500 |
|---|---|---|
| committer | Dave Henderson <dhenderson@gmail.com> | 2022-01-25 15:07:17 -0500 |
| commit | da4a759bad70cae9f4f1f38a03c26f75aa04352f (patch) | |
| tree | 14b1a2321ccc6fbaa03c21bb331315f31722a5b1 | |
| parent | 042abeb431c55a12cc101efdb75b1c1b67340cb4 (diff) | |
Update modules/caddyhttp/metrics_test.go
| -rw-r--r-- | modules/caddyhttp/metrics_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/caddyhttp/metrics_test.go b/modules/caddyhttp/metrics_test.go index 78e380b..95f6d9b 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 { |
