MCPcopy Create free account
hub / github.com/github/gh-aw / TestBuildInputSchemaEmptyInputs

Function TestBuildInputSchemaEmptyInputs

pkg/workflow/build_input_schema_test.go:195–200  ·  view source on GitHub ↗

TestBuildInputSchemaEmptyInputs tests that empty inputs produce empty results.

(t *testing.T)

Source from the content-addressed store, hash-verified

193
194// TestBuildInputSchemaEmptyInputs tests that empty inputs produce empty results.
195func TestBuildInputSchemaEmptyInputs(t *testing.T) {
196 properties, required := buildInputSchema(make(map[string]any), defaultDescFn)
197
198 assert.Empty(t, properties, "properties should be empty")
199 assert.Empty(t, required, "required should be empty")
200}
201
202// TestBuildInputSchemaNilInputs tests that nil inputs produce empty results.
203func TestBuildInputSchemaNilInputs(t *testing.T) {

Callers

nothing calls this directly

Calls 1

buildInputSchemaFunction · 0.85

Tested by

no test coverage detected