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/lsp-client-edit.snap | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 test/snapshots/lsp-client-edit.snap (limited to 'test/snapshots/lsp-client-edit.snap') diff --git a/test/snapshots/lsp-client-edit.snap b/test/snapshots/lsp-client-edit.snap deleted file mode 100644 index 456f5555..00000000 --- a/test/snapshots/lsp-client-edit.snap +++ /dev/null @@ -1,35 +0,0 @@ -# The protocol client's MUTATING answers, through the @put record path: a -# server TextEdit response becomes one atomic buffer edit with one undo step. -# = applies the mock's formatting edit (a header line) and narrates -# "formatted 1 range(s)" on the message row -# SPC l r renames both `add` calls via the server's WorkspaceEdit -# u reverses each as a single transaction -file main.rs mod lib;\n\nfn main() {\n let x = add(1, 2);\n let y = add(3, 4);\n let _ = x + y;\n}\n -file lib.rs // mock fixture\npub fn add(a: i32, b: i32) -> i32 {\n a + b\n}\n -start 25 100 main.rs -wait 8000 add(1, 2) -stable 700 20000 -key = -wait 10000 formatted by mock -stable 700 15000 -snap formatted -key u -wait 8000 mod lib; -stable 700 15000 -snap unformatted -# rename through the leader prompt: both call sites change in one step -press left 13 6 -release left 13 6 -key space -key l -key r -stable 400 5000 -text sum -key enter -wait 10000 sum(3, 4) -stable 700 15000 -snap renamed -key u -wait 8000 add(3, 4) -stable 700 15000 -snap unrenamed -- cgit v1.3