test(benchmarks): fix the incorrect function name

Signed-off-by: mengxun <mengxun1122@163.com>
This commit is contained in:
mengxun 2025-09-25 12:34:11 +08:00
parent 048f6fb884
commit b76c8d0e42

View File

@ -87,7 +87,7 @@ func BenchmarkOneRouteString(B *testing.B) {
runRequest(B, router, http.MethodGet, "/text")
}
func BenchmarkManyRoutesFist(B *testing.B) {
func BenchmarkManyRoutesFirst(B *testing.B) {
router := New()
router.Any("/ping", func(c *Context) {})
runRequest(B, router, http.MethodGet, "/ping")