aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 09:00:22 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 09:00:22 -0400
commitc96ccf96fa667b1bd7d9a09485d31c75806b9280 (patch)
tree12b1f486b887e86cd36b547a8374823d8d778da2 /modules
parent8abbc1905d94cd64130c2bbf90c2b8512341f340 (diff)
downloaddotemacs-c96ccf96fa667b1bd7d9a09485d31c75806b9280.tar.gz
dotemacs-c96ccf96fa667b1bd7d9a09485d31c75806b9280.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