test(benchmarks): fix the incorrect function name (#4375)

Signed-off-by: mengxun <mengxun1122@163.com>
This commit is contained in:
Meng Xun 2025-09-26 08:15:35 +08:00 committed by GitHub
parent 234a6d4c00
commit ed150e7254
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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")