From 2c13f29da2441d0e0fb11f11bb7a180054030cc9 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 23:28:26 -0300 Subject: tests: the editing snapshot scripts (41: modes, selections, look, search, the language client, diffs, tags) are process cases, test/process/tty_editing.zig, their goldens unchanged; checked against the old runner by two breaks, look's centring a third of the pane down (the same 4 fail in both) and the tty reading a drag as a motion (the same 7), grep the one flake in both, cured by the run alone Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/snapshots/lookloaded.snap | 48 ------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 test/snapshots/lookloaded.snap (limited to 'test/snapshots/lookloaded.snap') diff --git a/test/snapshots/lookloaded.snap b/test/snapshots/lookloaded.snap deleted file mode 100644 index 1f920a93..00000000 --- a/test/snapshots/lookloaded.snap +++ /dev/null @@ -1,48 +0,0 @@ -# a look matches an already-LOADED pane before touching the filesystem: open -# big.txt:40 from a look, rm the file on disk, then look big.txt:10 — the -# loaded pane focuses and recenters even though realpath now fails. (This -# fs-last ordering is what lets the fs-less web build focus dump panes.) -lines big.txt 60 -start 31 100 -n 3 -wait 8000 big.txt -stable 700 20000 -press left 5 9 -release left 5 9 -stable 400 5000 -key i -text big.txt:40 big.txt:10 -key esc -settle 100 -stable 400 5000 -press right 7 9 -release right 7 9 -stable 700 15000 -snap file-open -# Use the unrelated right-hand shell to remove the file: the source shell now -# stays above its file and is only a few rows tall. -press left 70 12 -release left 70 12 -stable 400 5000 -key c-b -stable 600 8000 -text rm big.txt; echo GO''NE -key enter -wait 8000 GONE -stable 700 15000 -key c-b -stable 600 8000 -snap removed -# look big.txt:10: nothing on disk, but the pane is loaded — it focuses and -# recenters on line 10 (before this change: realpath fails, look no-ops) -# Put a fresh reference in the right-hand shell, then look it. This ensures the -# gesture hits the missing path rather than empty space after source resizing. -press left 55 9 -release left 55 9 -key i -text big.txt:10 -key esc -stable 400 5000 -press right 57 9 -release right 57 9 -stable 700 15000 -snap look-noFS -- cgit v1.3