From 90c1c4c5a30ab9c37c7c367ae491e47bfd2f4653 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammed=20Efe=20=C3=87etin?= Date: Mon, 5 Sep 2022 18:34:02 +0300 Subject: [PATCH] v3: fix benchmarks --- router_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router_test.go b/router_test.go index 6a53e34e..bd66430b 100644 --- a/router_test.go +++ b/router_test.go @@ -462,7 +462,7 @@ func Benchmark_App_MethodNotAllowed(b *testing.B) { } b.StopTimer() require.Equal(b, 405, c.Response.StatusCode()) - require.Equal(b, "GET, HEAD", string(c.Response.Header.Peek("Allow"))) + require.Equal(b, "GET", string(c.Response.Header.Peek("Allow"))) require.Equal(b, utils.StatusMessage(StatusMethodNotAllowed), string(c.Response.Body())) }