summaryrefslogtreecommitdiff
path: root/test/snapshots/lspcomplete.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-09 06:54:27 -0300
committerGabriel Schneider <[email protected]>2026-08-10 09:17:07 -0300
commit599dd82f96b9d091aae78300aa6c3fbc81f9eb69 (patch)
tree532d29eb0d79896cd730fb324df4866056306506 /test/snapshots/lspcomplete.snap
parent628aa40f13e9bbd313b51ab625f193110aad8dd0 (diff)
downloadpardes-599dd82f96b9d091aae78300aa6c3fbc81f9eb69.tar.gz
pardes-599dd82f96b9d091aae78300aa6c3fbc81f9eb69.zip
review pass: fix the eaten Tab, drop the duplicated code, cover the gaps
Diffstat (limited to 'test/snapshots/lspcomplete.snap')
-rw-r--r--test/snapshots/lspcomplete.snap49
1 files changed, 9 insertions, 40 deletions
diff --git a/test/snapshots/lspcomplete.snap b/test/snapshots/lspcomplete.snap
index 7393b209..8b7854cd 100644
--- a/test/snapshots/lspcomplete.snap
+++ b/test/snapshots/lspcomplete.snap
@@ -66,52 +66,21 @@ key tab
wait 15000 a.zig:2:
stable 700 15000
snap completion
-# Nineteen more Tabs. Every one of them answers, and every answer REFILLS the
-# one `+Search` rather than opening its twin: before that fix six presses left
-# six byte-identical panes, twenty left fifteen with the file crushed to a
-# single visible line, and from the sixteenth on freeSlot returned null and the
-# keystroke was eaten for the rest of the session with nothing said. The golden
-# below is the assertion — one file pane, one results pane, same as after the
-# first press.
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
-key tab
-settle 150
+# Two more Tabs. Every one of them answers, and every answer REFILLS the one
+# `+Search` rather than opening its twin. The SECOND press is already the whole
+# assertion: without the refill it leaves a second byte-identical `+Search` and
+# this golden diverges. What TWENTY do is only worse in degree — fifteen
+# stacked panes, the file crushed to one visible line, and from the sixteenth
+# on freeSlot returns null and the keystroke is eaten for the rest of the
+# session — and that story lives in docs/lsp.md rather than in three seconds of
+# every suite run. One file pane, one results pane, same as after the first.
key tab
settle 150
key tab
settle 150
key tab
stable 700 20000
-snap twentytabs
+snap refill
# The pane is still in insert mode, which is right — the query answered beside
# the cursor and typing goes on — so walking the answer means leaving it first,
# the same as for any other results buffer.