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

Function TestIsPermanent

pkg/tools/lifecycle/classify_test.go:159–165  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

157}
158
159func TestIsPermanent(t *testing.T) {
160 t.Parallel()
161 assert.Check(t, lifecycle.IsPermanent(lifecycle.ErrAuthRequired))
162 assert.Check(t, lifecycle.IsPermanent(lifecycle.ErrCapabilityMissing))
163 assert.Check(t, !lifecycle.IsPermanent(lifecycle.ErrTransport))
164 assert.Check(t, !lifecycle.IsPermanent(nil))
165}

Callers

nothing calls this directly

Calls 2

IsPermanentFunction · 0.92
CheckMethod · 0.80

Tested by

no test coverage detected