From 094b562b5b90558e82a9c3e2beea386d93bd1803 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Sun, 8 Nov 2026 23:21:47 -0300 Subject: tests: the boot, argv and builtins snapshot scripts (22: argv badutf boot builtins dump load restore headersweep headersweep-restored logquiet tutor topbarexec leader mini ninep nested nested-optout shellset msg winch savepane filewatch) are process cases, test/process/tty_boot.zig, each its script's steps as Tty calls and its golden unchanged as its expectation; checked against the old runner by two breaks, the message stamp's spacing (3 fail in both) and the tty reading a middle press as a right one (the same 9 in both) Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge --- test/snapshots/headersweep.snap | 70 ----------------------------------------- 1 file changed, 70 deletions(-) delete mode 100644 test/snapshots/headersweep.snap (limited to 'test/snapshots/headersweep.snap') diff --git a/test/snapshots/headersweep.snap b/test/snapshots/headersweep.snap deleted file mode 100644 index 68ee16b0..00000000 --- a/test/snapshots/headersweep.snap +++ /dev/null @@ -1,70 +0,0 @@ -# A middle sweep over a column's tag or the workspace's runs what it swept, -# as it does over a pane's tag: highlighted while the button is held, run -# when it comes up. Both headers used to run the word under the PRESS, on -# the press, so a sweep of `echo SWEPT-COL` ran a bare `echo`. A right sweep -# looks for what it swept the same way, and the other button cancels. -file hay.txt ZQNEEDLE -start 21 120 -n 3 -wait 8000 Newcol -stable 700 20000 -# the column tag: type a command onto it, then sweep the whole command -press left 50 2 -release left 50 2 -key i -key space -text echo SW''EPT-COL -key esc -settle 100 -press middle @echo 2 -drag middle @echo+8 2 -stable 300 5000 -snapstyle col-sweeping -drag middle @echo+16 2 -release middle @echo+16 2 -wait 8000 SWEPT-COL -stable 700 15000 -snap col-swept -# the workspace tag, the same -press left 110 1 -release left 110 1 -key i -key space -text echo SW''EPT-WS -key esc -settle 100 -press middle @echo 1 -drag middle @echo+15 1 -release middle @echo+15 1 -wait 8000 SWEPT-WS -stable 700 15000 -snap ws-swept -# a right sweep over part of a word looks for the part: `hay.txt` opens, -# where a click would look for all of `xxhay.txtxx` -press left 118 1 -release left 118 1 -key i -key space -text xxhay.txtxx -key esc -settle 100 -press right @xxhay.txtxx+2 1 -drag right @xxhay.txtxx+9 1 -release right @xxhay.txtxx+9 1 -wait 8000 ZQNEEDLE -stable 700 15000 -snap ws-looked -# the look button tapped during a middle sweep cancels it: nothing runs -press middle @echo 2 -drag middle @echo+16 2 -press right @echo+16 2 -release right @echo+16 2 -release middle @echo+16 2 -stable 700 15000 -snap cancelled -# for comparison, a select sweep over the second column's tag selects, in -# the tag's selection colours, and runs nothing -press left @Find#2 2 -drag left @Grep#2+4 2 -release left @Grep#2+4 2 -stable 700 15000 -snapstyle selected -- cgit v1.3