chore(core) Consolidate apply_patch tests (#6545)

## Summary
Consolidates our apply_patch tests into one suite, and ensures each test
case tests the various ways the harness supports apply_patch:
1. Freeform custom tool call
2. JSON function tool
3. Simple shell call
4. Heredoc shell call

There are a few test cases that are specific to a particular variant,
I've left those alone.

## Testing
- [x] This adds a significant number of tests
This commit is contained in:
Dylan Hurd
2025-11-13 15:52:39 -08:00
committed by GitHub
parent 547be54ee8
commit 2c1b693da4
7 changed files with 289 additions and 1079 deletions

View File

@@ -18,8 +18,6 @@ mod abort_tasks;
#[cfg(not(target_os = "windows"))]
mod apply_patch_cli;
#[cfg(not(target_os = "windows"))]
mod apply_patch_freeform;
#[cfg(not(target_os = "windows"))]
mod approvals;
mod auth_refresh;
mod cli_stream;