MCPcopy Create free account
hub / github.com/devfeel/dotweb / TestItemContext_Get_Once

Function TestItemContext_Get_Once

core/concurrenceMap_test.go:33–37  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

31}
32
33func TestItemContext_Get_Once(t *testing.T) {
34 ic.Set("foo", "bar")
35 t.Log(ic.Once("foo"))
36 t.Log(ic.Get("foo"))
37}
38
39func TestItemContext_Remove(t *testing.T) {
40

Callers

nothing calls this directly

Calls 3

SetMethod · 0.65
OnceMethod · 0.65
GetMethod · 0.65

Tested by

no test coverage detected