MCPcopy Create free account
hub / github.com/docker/cli / TestStoreGetListDoesNotExist

Function TestStoreGetListDoesNotExist

cli/manifest/store/store_test.go:116–122  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

114}
115
116func TestStoreGetListDoesNotExist(t *testing.T) {
117 store := NewStore(t.TempDir())
118 listRef := ref("list")
119 _, err := store.GetList(listRef)
120 assert.Error(t, err, "No such manifest: list")
121 assert.Check(t, errdefs.IsNotFound(err))
122}

Callers

nothing calls this directly

Calls 4

GetListMethod · 0.95
NewStoreFunction · 0.85
refFunction · 0.70
ErrorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…