MCPcopy Create free account
hub / github.com/auth0/auth0-cli / TestSanitizeAgentName_KnownNames

Function TestSanitizeAgentName_KnownNames

internal/cli/agent_detection_test.go:303–315  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

301}
302
303func 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}

Callers

nothing calls this directly

Calls 1

sanitizeAgentNameFunction · 0.85

Tested by

no test coverage detected