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

Function TestFormatToolCallResponse_MapOfEmptyArray

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

Source from the content-addressed store, hash-verified

21}
22
23func TestFormatToolCallResponse_MapOfEmptyArray(t *testing.T) {
24 t.Parallel()
25 formatted := formatToolCallResponse(`{"array": []}`)
26 assert.Equal(t, ` → (array: [])`, formatted)
27}
28
29func TestFormatToolCallResponse_MapOfArray(t *testing.T) {
30 t.Parallel()

Callers

nothing calls this directly

Calls 1

formatToolCallResponseFunction · 0.85

Tested by

no test coverage detected