Fix shell wrapper temp file handling

This commit is contained in:
jif-oai
2026-02-13 13:54:22 +00:00
parent 49ccde29d7
commit 9f001cfc4a

View File

@@ -380,7 +380,8 @@ mod tests {
let rewritten = maybe_wrap_shell_lc_with_snapshot(&command, &session_shell, dir.path());
assert!(!rewritten[2].contains("/tmp/"));
assert!(!rewritten[2].contains("codex-restore-env-"));
assert!(!rewritten[2].contains("export -p >"));
assert!(!rewritten[2].contains("rm -f \"$__codex_restore_env_file\""));
}
}