Skip to content

Commit 0ff16f8

Browse files
author
codex-bot
committed
Fix unified exec large output regex and remove python dependency
1 parent 88da499 commit 0ff16f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎codex-rs/core/tests/suite/unified_exec.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1678,7 +1678,7 @@ PY
16781678
let large_output = outputs.get(call_id).expect("missing large output summary");
16791679

16801680
let output_text = large_output.output.replace("\r\n", "\n");
1681-
let truncated_pattern = r"(?s)^Total output lines: \d+\n{2,}(token token \n){5,}.*…\d+ tokens truncated….*(token token \n){5,}$";
1681+
let truncated_pattern = r"(?s)^Total output lines: \d+\n\n(token token \n){5,}.*…\d+ tokens truncated….*(token token \n){5,}$";
16821682
assert_regex_match(truncated_pattern, &output_text);
16831683

16841684
let original_tokens = large_output

0 commit comments

Comments
 (0)