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

Function verifyThereAreNoRoutes

router_test.go:882–887  ·  view source on GitHub ↗
(tb testing.TB, app *App)

Source from the content-addressed store, hash-verified

880}
881
882func verifyThereAreNoRoutes(tb testing.TB, app *App) {
883 tb.Helper()
884
885 require.Equal(tb, uint32(0), app.handlersCount)
886 verifyRouteHandlerCounts(tb, app, 0)
887}
888
889func Test_App_Rebuild_Tree(t *testing.T) {
890 t.Parallel()

Calls 1

verifyRouteHandlerCountsFunction · 0.85

Tested by

no test coverage detected