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/lspdebug.snap | 45 -------------------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 test/snapshots/lspdebug.snap (limited to 'test/snapshots/lspdebug.snap') diff --git a/test/snapshots/lspdebug.snap b/test/snapshots/lspdebug.snap deleted file mode 100644 index c66a5d67..00000000 --- a/test/snapshots/lspdebug.snap +++ /dev/null @@ -1,45 +0,0 @@ -file z.zig const std = @import("std");\n\nfn helper() u32 {\n return 3;\n}\n\npub fn main() void {\n const v = helper();\n _ = v;\n}\n -# Builtins announce themselves by default, and an announcement is a band at -# the top of the body -- which moves every row this script clicks. What the -# verbs do is what is under test, not the announcement. -config Verbose off -start 45 120 z.zig -wait 8000 fn helper -stable 700 20000 -snap opened - -# Ctrl-click jumps to the definition; plain click only moves the cursor. -press ctrl-left 22 11 -release ctrl-left 22 11 -stable 700 15000 -snap ctrlclick -press left 22 11 -release left 22 11 -stable 700 15000 -snap plainclick - -text 3gg1g| -stable 400 10000 -key space l w -wait 10000 lsp explain — the definition query -wait 10000 row(s) -key space w j enter -key space d -stable 700 15000 -snap why-closed - -# Check the report's answers, not installed compiler paths or dependency counts. -key space l i -wait 10000 language servers: -wait 10000 zls -key space w j enter -key / -text client queries -key enter -wait 10000 client queries -wait 10000 definition -# Enter left the keyboard in the report, on the match; its query pane is -# attached to it, so one Del closes both, their rows back to the source -key space d -stable 700 15000 -snap report-closed -- cgit v1.3