summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/lsp.snap')
-rw-r--r--test/snapshots/lsp.snap10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/snapshots/lsp.snap b/test/snapshots/lsp.snap
index 2eb17735..b40484ee 100644
--- a/test/snapshots/lsp.snap
+++ b/test/snapshots/lsp.snap
@@ -11,13 +11,13 @@
# symbol from std — so these goldens do not encode this machine's stdlib
# version or its install path.
file a.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
-start 40 120 a.zig
+start 41 120 a.zig
wait 8000 helper
stable 700 20000
snap opened
# park the cursor inside the CALL `helper(41)` (file line 8, grid row 9)
-press left 18 10
-release left 18 10
+press left 18 11
+release left 18 11
stable 400 5000
snap cursor
# gd on a call: exactly one location comes back, so it JUMPS rather than
@@ -49,8 +49,8 @@ stable 700 15000
snap step
# gd on something with no declaration behind it (a keyword) answers nothing,
# and nothing is a legal answer: no buffer opens, no error is rendered.
-press left 8 5
-release left 8 5
+press left 8 6
+release left 8 6
key g
key d
stable 700 10000