summaryrefslogtreecommitdiff
path: root/test/snapshots/lsp.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-08 23:28:26 -0300
committerGabriel Schneider <[email protected]>2026-11-09 01:28:28 -0300
commit2c13f29da2441d0e0fb11f11bb7a180054030cc9 (patch)
treebff1a7a8e92d5acdc354ed4e6da956dc0fa209dc /test/snapshots/lsp.snap
parent094b562b5b90558e82a9c3e2beea386d93bd1803 (diff)
downloadpardes-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.snap')
-rw-r--r--test/snapshots/lsp.snap57
1 files changed, 0 insertions, 57 deletions
diff --git a/test/snapshots/lsp.snap b/test/snapshots/lsp.snap
deleted file mode 100644
index 123fad93..00000000
--- a/test/snapshots/lsp.snap
+++ /dev/null
@@ -1,57 +0,0 @@
-# Language intelligence end to end: the helix keymap, the async round trip and
-# the two dispositions of an answer.
-#
-# The backend behind the seam here is zls, run as a child process by the
-# protocol client (it must be on PATH): `gd` is a request on a worker thread
-# whose result comes back as an ordinary event, the same shape a pty read
-# already had. Nothing in this script knows that: it presses keys and reads
-# the grid, which is the point of the seam.
-#
-# a.zig is deliberately self-contained — a definition, a call site, and not one
-# 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 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 11
-release left 18 11
-stable 400 5000
-snap cursor
-# gd on a call: exactly one location comes back, so it JUMPS rather than
-# opening a picker — and lands SELECTING the definition's name token on line 3,
-# because ZLS answers with a range and a ranged row is one a look selects.
-# The jumplist is pinned first, so ctrl-o comes back.
-key g
-key d
-stable 700 15000
-snap definition
-# SPC l k is hover (K is keep_selections in helix and stays that way). The answer
-# is prose, not locations, so it opens +Hover and does NOT arm the n/N stepper.
-key space
-key l
-key k
-stable 700 15000
-snap hover
-# SPC l s lists the file's own symbols. Several rows, so it opens a +Search
-# buffer — which IS the picker: n selects a row and Enter looks it, exactly as
-# the Find and `/` results already do, with no picker code of its own.
-key space
-key l
-key s
-stable 700 15000
-snap symbols
-key space j n
-key enter
-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 6
-release left 8 6
-key g
-key d
-stable 700 10000
-snap nothing