Test_NextCustom_NotFound() — fiber Function Reference
Architecture documentation for the Test_NextCustom_NotFound() function in router_test.go from the fiber codebase.
Entity Profile
Dependency Diagram
graph TD b66263b7_a1fa_f31c_9368_f3794e87c11d["Test_NextCustom_NotFound()"] 326d7e00_9e4f_d854_0c78_b9c0c93e5537["router_test.go"] b66263b7_a1fa_f31c_9368_f3794e87c11d -->|defined in| 326d7e00_9e4f_d854_0c78_b9c0c93e5537 c4f82a93_8940_d363_0257_1b9cc4cd3148["newCustomApp()"] b66263b7_a1fa_f31c_9368_f3794e87c11d -->|calls| c4f82a93_8940_d363_0257_1b9cc4cd3148 style b66263b7_a1fa_f31c_9368_f3794e87c11d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
router_test.go lines 1958–1975
func Test_NextCustom_NotFound(t *testing.T) {
t.Parallel()
app := newCustomApp()
app.RebuildTree()
fctx := &fasthttp.RequestCtx{}
fctx.Request.Header.SetMethod(MethodGet)
fctx.Request.SetRequestURI("/not-exist")
ctx := app.AcquireCtx(fctx)
defer app.ReleaseCtx(ctx)
matched, err := app.nextCustom(ctx)
require.False(t, matched)
var e *Error
require.ErrorAs(t, err, &e)
require.Equal(t, StatusNotFound, e.Code)
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does Test_NextCustom_NotFound() do?
Test_NextCustom_NotFound() is a function in the fiber codebase, defined in router_test.go.
Where is Test_NextCustom_NotFound() defined?
Test_NextCustom_NotFound() is defined in router_test.go at line 1958.
What does Test_NextCustom_NotFound() call?
Test_NextCustom_NotFound() calls 1 function(s): newCustomApp.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free