Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
389
func
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
398
func
TestState_Delete(t *testing.T) {
399
t.Parallel()
Callers
nothing calls this directly
Calls
3
newState
Function · 0.85
Set
Method · 0.65
Has
Method · 0.45
Tested by
no test coverage detected