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

Function TestBuildWriteArgs_CodexCLI

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

Source from the content-addressed store, hash-verified

558}
559
560func TestBuildWriteArgs_CodexCLI(t *testing.T) {
561 sess := mockSession("codex/0.1", codexCLITools)
562 args := BuildWriteArguments(sess, "write_file", "/tmp/out.txt", "hello")
563 if args["path"] != "/tmp/out.txt" || args["content"] != "hello" {
564 t.Errorf("expected {path, content}, got %v", args)
565 }
566}
567
568func TestBuildWriteArgs_Cursor(t *testing.T) {
569 sess := mockSession("cursor/0.44", cursorTools)

Callers

nothing calls this directly

Calls 2

mockSessionFunction · 0.85
BuildWriteArgumentsFunction · 0.85

Tested by

no test coverage detected