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

Function TestFormatToolCallResponse_Map

pkg/cli/printer_test.go:16–21  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

14}
15
16func TestFormatToolCallResponse_Map(t *testing.T) {
17 t.Parallel()
18 formatted := formatToolCallResponse(`{"text": "hello"}`)
19
20 assert.Equal(t, ` → (text: "hello")`, formatted)
21}
22
23func TestFormatToolCallResponse_MapOfEmptyArray(t *testing.T) {
24 t.Parallel()

Callers

nothing calls this directly

Calls 1

formatToolCallResponseFunction · 0.85

Tested by

no test coverage detected