MCPcopy Index your code
hub / github.com/docker/docker-agent / TestNew_disabled

Function TestNew_disabled

pkg/cache/cache_test.go:16–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

14)
15
16func TestNew_disabled(t *testing.T) {
17 t.Parallel()
18 c, err := New(Config{Enabled: false})
19 require.NoError(t, err)
20 assert.Nil(t, c)
21}
22
23func TestMemoryCache_caseSensitiveDefault(t *testing.T) {
24 t.Parallel()

Callers

nothing calls this directly

Calls 1

NewFunction · 0.70

Tested by

no test coverage detected