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-files.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-files.snap')
| -rw-r--r-- | test/snapshots/lsp-rename-files.snap | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/test/snapshots/lsp-rename-files.snap b/test/snapshots/lsp-rename-files.snap deleted file mode 100644 index 0114c795..00000000 --- a/test/snapshots/lsp-rename-files.snap +++ /dev/null @@ -1,29 +0,0 @@ -# A Rename reaches the other files open in the editor. A server renames in -# the documents it has seen (zls's store), so before a query whose answer can -# reach other files the client tells it of every open file of its language. -# Here main.rs is opened by a look, asking the server nothing, and the rename -# is asked from lib.rs: the mock answers in each document it was told of, so -# the preview lists main.rs's two calls and lib.rs's definition. -file lib.rs // main.rs\npub fn add(a: i32, b: i32) -> i32 {\n a + b\n}\n -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 -start 25 100 lib.rs -wait 8000 pub fn add -stable 700 20000 -press right @main.rs 4 -release right @main.rs 4 -wait 8000 let x = add -stable 700 15000 -snap opened -# into lib.rs's `add`, and rename it from there -press left @add 5 -release left @add 5 -stable 400 5000 -key space -key l -key r -stable 400 5000 -text sum -key enter -wait 10000 sum -stable 700 15000 -snap previewed |
