fuduoduo 4d95bff550
test(utils): cover goal-objective and bash-exit input boundaries (#8048)
* test(utils): cover goal-objective and bash-exit input boundaries

* test(utils): make the string-comparison boundary case actually pin the contract

Review follow-up: 400 digits is below CPython's default int-max-str-digits cap (4300), so an implementation regressed to int(match.group(2)) would still pass. Derive the digit count from sys.get_int_max_str_digits() + 1 instead. Also document how this file differs from test_tool_result_meta.py (direct return contract vs message normalization). No production code changes.

---------

Co-authored-by: jack12178 <jack12178@users.noreply.github.com>
2026-11-11 19:04:09 +08:00
..