(t *testing.T)
| 301 | } |
| 302 | |
| 303 | func TestSanitizeAgentName_KnownNames(t *testing.T) { |
| 304 | for input, want := range map[string]string{ |
| 305 | "mcp-server": "mcp-server", |
| 306 | "MCP-SERVER": "mcp-server", |
| 307 | "claude-code": "claude-code", |
| 308 | "cursor": "cursor", |
| 309 | "github-copilot": "github-copilot", |
| 310 | "codex": "codex", |
| 311 | "gemini": "gemini", |
| 312 | } { |
| 313 | assert.Equal(t, want, sanitizeAgentName(input), "input: %s", input) |
| 314 | } |
| 315 | } |
nothing calls this directly
no test coverage detected