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

Function TestState_Has

state_test.go:389–396  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

387}
388
389func TestState_Has(t *testing.T) {
390 t.Parallel()
391
392 st := newState()
393
394 st.Set("key", "value")
395 require.True(t, st.Has("key"))
396}
397
398func TestState_Delete(t *testing.T) {
399 t.Parallel()

Callers

nothing calls this directly

Calls 3

newStateFunction · 0.85
SetMethod · 0.65
HasMethod · 0.45

Tested by

no test coverage detected