MCPcopy
hub / github.com/docker/docker-agent / TestElicitationError_Error

Function TestElicitationError_Error

pkg/runtime/elicitation_test.go:19–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

17)
18
19func TestElicitationError_Error(t *testing.T) {
20 t.Parallel()
21
22 err := &ElicitationError{Action: "decline", Message: "user said no"}
23 assert.Equal(t, "elicitation decline: user said no", err.Error())
24}
25
26func TestElicitationBridge_SendBeforeSwapReturnsError(t *testing.T) {
27 t.Parallel()

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.95

Tested by

no test coverage detected