mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-12-04 23:52:00 +00:00
Document::diff returns one coarser (still correct) change once its 50 ms budget runs out, so tests pinning one change per region failed on loaded machines. The ide-text tests use diff_until with a far deadline; the formatter and workspace tests that reach the budgeted diff through production code check exact regions only when the call returned within DIFF_BUDGET (now pub), and always check the resulting text and that edits stay between the first and last changed line. Co-authored-by: audichuang <72485427+audichuang@users.noreply.github.com>