codex: fix apply_patch harness lint

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
starr-openai
2026-05-07 18:35:05 -07:00
parent 101eabf6af
commit 7fc22c1fcb

View File

@@ -515,7 +515,10 @@ async fn apply_patch_multi_environment_uses_remote_executor() -> anyhow::Result<
!function_local_path.exists(),
"function-call targeted patch should not write locally"
);
let function_remote_contents = test.fs().read_file(&function_remote_path, None).await?;
let function_remote_contents = test
.fs()
.read_file(&function_remote_path, /*sandbox*/ None)
.await?;
assert_eq!(
String::from_utf8(function_remote_contents)?,
"patched via remote function\n"
@@ -571,7 +574,10 @@ async fn apply_patch_multi_environment_uses_remote_executor() -> anyhow::Result<
!freeform_local_path.exists(),
"freeform targeted patch should not write locally"
);
let freeform_remote_contents = test.fs().read_file(&freeform_remote_path, None).await?;
let freeform_remote_contents = test
.fs()
.read_file(&freeform_remote_path, /*sandbox*/ None)
.await?;
assert_eq!(
String::from_utf8(freeform_remote_contents)?,
"patched via remote freeform\n"