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

Function Test_App_ReloadViews_NoEngine

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

Source from the content-addressed store, hash-verified

2406}
2407
2408func Test_App_ReloadViews_NoEngine(t *testing.T) {
2409 t.Parallel()
2410 app := New()
2411
2412 err := app.ReloadViews()
2413 require.ErrorIs(t, err, ErrNoViewEngineConfigured)
2414}
2415
2416func Test_App_ReloadViews_InterfaceNilPointer(t *testing.T) {
2417 t.Parallel()

Callers

nothing calls this directly

Calls 2

ReloadViewsMethod · 0.80
NewFunction · 0.70

Tested by

no test coverage detected