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.snap10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/snapshots/lsp-client.snap b/test/snapshots/lsp-client.snap
index d9827a2a..159bf80e 100644
--- a/test/snapshots/lsp-client.snap
+++ b/test/snapshots/lsp-client.snap
@@ -7,7 +7,8 @@
# and the message row still carries the server's settled state
# ("lsp lspmock: ready") because nothing has cleared it yet.
# gr -> the text's query pane, line 1 `Refs`, rows under their files,
-# the next occurrence current; n/N step the places in the text.
+# the next occurrence current, the keyboard on it in normal mode
+# (a list answered, not a query typed); n/N step the places.
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
@@ -27,9 +28,10 @@ key r
wait 10000 add(3, 4)
stable 700 15000
snap gr-list
-# Ctrl-n on line 1 steps to the next hit, Enter lands there; N in the text
-# goes back to the one before, round the places in main.rs
-key c-n
+# the list opens in normal mode, the caret on the current row: n steps to
+# the next hit, Enter lands there; N in the text goes back to the one
+# before, round the places in main.rs
+key n
key enter
stable 700 15000
snap gr-opened