diff --git a/codex-rs/core/src/unified_exec/mod.rs b/codex-rs/core/src/unified_exec/mod.rs index 0d11c107c..c090346a2 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!(