Home / Function/ Test_App_ReloadViews_MountedViews_Error() — fiber Function Reference

Test_App_ReloadViews_MountedViews_Error() — fiber Function Reference

Architecture documentation for the Test_App_ReloadViews_MountedViews_Error() function in app_test.go from the fiber codebase.

Entity Profile

Dependency Diagram

graph TD
  498a8dd9_a7dc_3a86_aab4_efc7ab39145f["Test_App_ReloadViews_MountedViews_Error()"]
  e728fdd2_242f_706b_c1d2_041b3d6badb5["app_test.go"]
  498a8dd9_a7dc_3a86_aab4_efc7ab39145f -->|defined in| e728fdd2_242f_706b_c1d2_041b3d6badb5
  style 498a8dd9_a7dc_3a86_aab4_efc7ab39145f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

app_test.go lines 2101–2111

func Test_App_ReloadViews_MountedViews_Error(t *testing.T) {
	t.Parallel()
	expectedErr := errors.New("sub view error")
	subView := &countingView{loadErr: expectedErr}
	subApp := New(Config{Views: subView})
	app := New()
	app.Use("/sub", subApp)

	err := app.ReloadViews()
	require.ErrorIs(t, err, expectedErr)
}

Domain

Subdomains

Defined In

Frequently Asked Questions

What does Test_App_ReloadViews_MountedViews_Error() do?
Test_App_ReloadViews_MountedViews_Error() is a function in the fiber codebase, defined in app_test.go.
Where is Test_App_ReloadViews_MountedViews_Error() defined?
Test_App_ReloadViews_MountedViews_Error() is defined in app_test.go at line 2101.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free