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

Function TestFormatToolCallResponse_MapOfArray

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

Source from the content-addressed store, hash-verified

27}
28
29func TestFormatToolCallResponse_MapOfArray(t *testing.T) {
30 t.Parallel()
31 formatted := formatToolCallResponse(`{"array": [1,2,3]}`)
32 assert.Equal(t, ` → (
33 array: [
34 1,
35 2,
36 3
37]
38)`, formatted)
39}
40
41func TestFormatToolCallResponse_PlainText(t *testing.T) {
42 t.Parallel()

Callers

nothing calls this directly

Calls 1

formatToolCallResponseFunction · 0.85

Tested by

no test coverage detected