Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Fix unified exec test output assertion (#14184)

Ahmed Ibrahim6b7253b123a6
diff --git a/codex-rs/core/src/unified_exec/mod.rs b/codex-rs/core/src/unified_exec/mod.rs
index 0d11c107c4..c090346a28 100644
--- a/codex-rs/core/src/unified_exec/mod.rs
+++ b/codex-rs/core/src/unified_exec/mod.rs
@@ -444,7 +444,7 @@ mod tests {
"pause should block the unified exec yield timeout"
);
assert!(
- response.output.contains("unified-exec-done"),
+ response.truncated_output().contains("unified-exec-done"),
"exec_command should wait for output after the pause lifts"
);
assert!(