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

Function TestClassify_InitNotification

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

Source from the content-addressed store, hash-verified

49}
50
51func TestClassify_InitNotification(t *testing.T) {
52 t.Parallel()
53 got := lifecycle.Classify(errors.New("failed to send initialized notification: bad"))
54 assert.Check(t, errors.Is(got, lifecycle.ErrInitNotification))
55}
56
57func TestClassify_SessionMissingByMessage(t *testing.T) {
58 t.Parallel()

Callers

nothing calls this directly

Calls 3

ClassifyFunction · 0.92
CheckMethod · 0.80
NewMethod · 0.45

Tested by

no test coverage detected