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

Function TestPickReadTool_Cursor

internal/sessions/transfer_test.go:419–424  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

417}
418
419func TestPickReadTool_Cursor(t *testing.T) {
420 sess := mockSession("cursor/0.44", cursorTools)
421 if got := PickReadTool(sess); got != "read_file" {
422 t.Errorf("expected read_file, got %q", got)
423 }
424}
425
426func TestPickWriteTool_ClaudeCode(t *testing.T) {
427 sess := mockSession("claude-code/1.0", claudeCodeTools)

Callers

nothing calls this directly

Calls 2

mockSessionFunction · 0.85
PickReadToolFunction · 0.85

Tested by

no test coverage detected