diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 09:00:22 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 09:00:22 -0400 |
| commit | 0e5d3aa8e1b4104b4504c84463329e4fb06ea28b (patch) | |
| tree | c460a7860f8550319de88d667ef364ee7888d7da /modules | |
| parent | 8314969ea458e34e075adde9f4b404042ed170b0 (diff) | |
| download | dotemacs-0e5d3aa8e1b4104b4504c84463329e4fb06ea28b.tar.gz dotemacs-0e5d3aa8e1b4104b4504c84463329e4fb06ea28b.zip | |
test(ai-term): isolate layout-capture globals in collapse-split tests
The multi-window and single-window collapse tests call cj/ai-term, which captures the current layout into cj/--ai-term-last-direction / cj/--ai-term-last-size on toggle-off, but only let-bound cj/--ai-term-last-was-bury. They leaked last-direction into the display-rule test, whose display-saved action reads those globals to choose the split direction, so its agent buffer split below instead of right and the assertion failed. Let-bind last-direction and last-size to nil, matching the roundtrip test in the same file. Full ai-term suite is green.
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions
