MCPcopy
hub / github.com/gofiber/fiber / Test_App_Handler

Function Test_App_Handler

app_test.go:2102–2106  ·  view source on GitHub ↗

go test -run Test_App_Handler

(t *testing.T)

Source from the content-addressed store, hash-verified

2100
2101// go test -run Test_App_Handler
2102func Test_App_Handler(t *testing.T) {
2103 t.Parallel()
2104 h := New().Handler()
2105 require.Equal(t, "fasthttp.RequestHandler", reflect.TypeOf(h).String())
2106}
2107
2108type invalidView struct{}
2109

Callers

nothing calls this directly

Calls 3

HandlerMethod · 0.80
NewFunction · 0.70
StringMethod · 0.65

Tested by

no test coverage detected