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

Function TestFormatToolCallArguments_MapOfArray

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

Source from the content-addressed store, hash-verified

63}
64
65func TestFormatToolCallArguments_MapOfArray(t *testing.T) {
66 t.Parallel()
67 formatted := formatToolCallArguments(`{"array": [1,2,3]}`)
68 assert.Equal(t, `(
69 array: [
70 1,
71 2,
72 3
73]
74)`, formatted)
75}
76
77func TestFormatToolCallArguments_MapOfEmptyArray(t *testing.T) {
78 t.Parallel()

Callers

nothing calls this directly

Calls 1

formatToolCallArgumentsFunction · 0.85

Tested by

no test coverage detected