diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-08 23:28:26 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-09 01:28:28 -0300 |
| commit | 2c13f29da2441d0e0fb11f11bb7a180054030cc9 (patch) | |
| tree | bff1a7a8e92d5acdc354ed4e6da956dc0fa209dc /test/snapshots/lsp-rename.snap | |
| parent | 094b562b5b90558e82a9c3e2beea386d93bd1803 (diff) | |
| download | pardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.tar.gz pardes-2c13f29da2441d0e0fb11f11bb7a180054030cc9.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/lsp-rename.snap')
| -rw-r--r-- | test/snapshots/lsp-rename.snap | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/test/snapshots/lsp-rename.snap b/test/snapshots/lsp-rename.snap deleted file mode 100644 index 63ca21db..00000000 --- a/test/snapshots/lsp-rename.snap +++ /dev/null @@ -1,27 +0,0 @@ -# Rename end to end: the leader prompt, async ZLS resolution, atomic file edit, -# shadow filtering, and one-step undo/redo. The source has a same-spelled local -# which must not be changed when the top-level helper is renamed. -file rename.zig const std = @import("std");\n\nfn helper(x: u32) u32 {\n return x + 1;\n}\n\npub fn main() void {\n _ = helper(41);\n}\n\nfn shadowed() void {\n const helper: u32 = 7;\n _ = helper;\n}\n -start 25 110 rename.zig -wait 8000 helper(41) -stable 700 20000 -# Put the cursor inside the top-level call, then use the helix rename binding. -press left 18 11 -release left 18 11 -key space -key l -key r -stable 400 5000 -text renamed_helper -key enter -wait 10000 renamed_helper(41) -stable 700 15000 -snap renamed -# Both resolved top-level occurrences changed; the shadowed local stayed helper. -# The whole asynchronous rename is one history transaction. -key u -stable 400 5000 -snap undone -key U -stable 400 5000 -snap redone |
