summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp-client.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/lsp-client.snap')
-rw-r--r--test/snapshots/lsp-client.snap9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/snapshots/lsp-client.snap b/test/snapshots/lsp-client.snap
index bc5267cc..91c65975 100644
--- a/test/snapshots/lsp-client.snap
+++ b/test/snapshots/lsp-client.snap
@@ -6,7 +6,7 @@
# gd on a cross-file Location -> a look: lib.rs opens with `add` selected,
# and the message row still carries the server's settled state
# ("lsp lspmock: ready") because nothing has cleared it yet.
-# gr -> three rows with column SPANS, n arms the walk, Enter opens one.
+# gr -> sorted rows, selecting the next occurrence; n/N continue there.
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 24 100 main.rs
@@ -26,9 +26,12 @@ key r
wait 10000 add(3, 4)
stable 700 15000
snap gr-list
-# step the list and open the second hit: main.rs with the span selected
-key n
+# step from the selected middle row to the last hit, then return
key n
key enter
stable 700 15000
snap gr-opened
+key N
+key enter
+stable 700 15000
+snap gr-back