TestBuildInputSchemaEmptyInputs tests that empty inputs produce empty results.
(t *testing.T)
| 193 | |
| 194 | // TestBuildInputSchemaEmptyInputs tests that empty inputs produce empty results. |
| 195 | func 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. |
| 203 | func TestBuildInputSchemaNilInputs(t *testing.T) { |
nothing calls this directly
no test coverage detected