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

Function Test_App_ReloadViews_InterfaceNilPointer

app_test.go:2416–2423  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

2414}
2415
2416func Test_App_ReloadViews_InterfaceNilPointer(t *testing.T) {
2417 t.Parallel()
2418 var view *countingView
2419 app := &App{config: Config{Views: view}}
2420
2421 err := app.ReloadViews()
2422 require.ErrorIs(t, err, ErrNoViewEngineConfigured)
2423}
2424
2425func Test_App_ReloadViews_MountedViews(t *testing.T) {
2426 t.Parallel()

Callers

nothing calls this directly

Calls 1

ReloadViewsMethod · 0.95

Tested by

no test coverage detected