(t *testing.T)
| 558 | } |
| 559 | |
| 560 | func 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 | |
| 568 | func TestBuildWriteArgs_Cursor(t *testing.T) { |
| 569 | sess := mockSession("cursor/0.44", cursorTools) |
nothing calls this directly
no test coverage detected