(t *testing.T)
| 574 | } |
| 575 | |
| 576 | func TestBuildWriteArgs_Cline(t *testing.T) { |
| 577 | sess := mockSession("cline/3.18", clineTools) |
| 578 | args := BuildWriteArguments(sess, "write_file", "/tmp/out.txt", "hello") |
| 579 | if args["path"] != "/tmp/out.txt" || args["content"] != "hello" { |
| 580 | t.Errorf("expected {path, content}, got %v", args) |
| 581 | } |
| 582 | } |
| 583 | |
| 584 | func TestBuildCommandArgs_OpenClaw(t *testing.T) { |
| 585 | sess := mockSession("openclaw/1.0", openClawTools) |
nothing calls this directly
no test coverage detected