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

Function TestClassify_FileNotExist

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

Source from the content-addressed store, hash-verified

29}
30
31func TestClassify_FileNotExist(t *testing.T) {
32 t.Parallel()
33 got := lifecycle.Classify(fmt.Errorf("%w", os.ErrNotExist))
34 assert.Check(t, errors.Is(got, lifecycle.ErrServerUnavailable))
35}
36
37func TestClassify_EOF(t *testing.T) {
38 t.Parallel()

Callers

nothing calls this directly

Calls 2

ClassifyFunction · 0.92
CheckMethod · 0.80

Tested by

no test coverage detected