Home / Function/ Test_App_ReloadViews_Error() — fiber Function Reference

Test_App_ReloadViews_Error() — fiber Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

app_test.go lines 2050–2059

func Test_App_ReloadViews_Error(t *testing.T) {
	t.Parallel()
	wantedErr := errors.New("boom")
	view := &countingView{loadErr: wantedErr}
	app := New(Config{Views: view})

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

Domain

Subdomains

Defined In

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free