Lightweight coding agent that runs in your terminal
Rust
test: clean up apply_patch allow-session artifact (#24611)
jif-oai9f47e19b21ca
diff --git a/codex-rs/core/tests/suite/approvals.rs b/codex-rs/core/tests/suite/approvals.rsindex 924253d8b8..fe3fd4ac7d 100644--- a/codex-rs/core/tests/suite/approvals.rs+++ b/codex-rs/core/tests/suite/approvals.rs@@ -2073,6 +2073,7 @@ async fn approving_apply_patch_for_session_skips_future_prompts_for_same_file()let target = TargetPath::OutsideWorkspace("apply_patch_allow_session.txt");let (path, patch_path) = target.resolve_for_patch(&test);+ let _path_cleanup = tempfile::TempPath::try_from_path(path.clone())?;let _ = fs::remove_file(&path);let patch_add = build_add_file_patch(&patch_path, "before");