(t *testing.T)
| 239 | } |
| 240 | |
| 241 | func TestParseConfig_FileNotFound(t *testing.T) { |
| 242 | t.Parallel() |
| 243 | |
| 244 | _, err := agentmcp.ParseConfig(filepath.Join(t.TempDir(), "nonexistent.json")) |
| 245 | require.Error(t, err) |
| 246 | } |
| 247 | |
| 248 | // mustJSON marshals v to a JSON string, failing the test on error. |
| 249 | func mustJSON(t *testing.T, v any) string { |
nothing calls this directly
no test coverage detected