MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / TestPickShellTool_ClaudeCode

Function TestPickShellTool_ClaudeCode

internal/sessions/transfer_test.go:370–375  ·  view source on GitHub ↗

=================================================================== C. Tool Selection Tests (per agent) ===================================================================

(t *testing.T)

Source from the content-addressed store, hash-verified

368// ===================================================================
369
370func TestPickShellTool_ClaudeCode(t *testing.T) {
371 sess := mockSession("claude-code/1.0", claudeCodeTools)
372 if got := PickShellTool(sess); got != "Bash" {
373 t.Errorf("expected Bash, got %q", got)
374 }
375}
376
377func TestPickShellTool_CodexCLI(t *testing.T) {
378 sess := mockSession("codex_cli_rs/0.112", codexCLITools)

Callers

nothing calls this directly

Calls 2

mockSessionFunction · 0.85
PickShellToolFunction · 0.85

Tested by

no test coverage detected