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

Function TestFormatToolCallArguments_Map

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

Source from the content-addressed store, hash-verified

53}
54
55func TestFormatToolCallArguments_Map(t *testing.T) {
56 t.Parallel()
57 formatted := formatToolCallArguments(`{"first": "hello", "second": 42}`)
58
59 assert.Equal(t, `(
60 first: "hello"
61 second: 42
62)`, formatted)
63}
64
65func TestFormatToolCallArguments_MapOfArray(t *testing.T) {
66 t.Parallel()

Callers

nothing calls this directly

Calls 1

formatToolCallArgumentsFunction · 0.85

Tested by

no test coverage detected