MCPcopy Create free account
hub / github.com/go-dev-frame/sponge / TestBuildCacheKey

Function TestBuildCacheKey

pkg/cache/redis_test.go:215–220  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

213}
214
215func TestBuildCacheKey(t *testing.T) {
216 _, err := BuildCacheKey("", "")
217 assert.Error(t, err)
218 _, err = BuildCacheKey("foo", "bar")
219 assert.NoError(t, err)
220}

Callers

nothing calls this directly

Calls 2

BuildCacheKeyFunction · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected