summaryrefslogtreecommitdiff
path: root/test/snapshots/lspdebug.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/lspdebug.snap')
-rw-r--r--test/snapshots/lspdebug.snap7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/snapshots/lspdebug.snap b/test/snapshots/lspdebug.snap
index 4021bc17..23a95db0 100644
--- a/test/snapshots/lspdebug.snap
+++ b/test/snapshots/lspdebug.snap
@@ -1,4 +1,8 @@
file z.zig const std = @import("std");\n\nfn helper() u32 {\n return 3;\n}\n\npub fn main() void {\n const v = helper();\n _ = v;\n}\n
+# Builtins announce themselves by default, and an announcement is a band at
+# the top of the body -- which moves every row this script clicks. What the
+# verbs do is what is under test, not the announcement.
+config Verbose off
start 45 120 z.zig
wait 8000 fn helper
stable 700 20000
@@ -38,6 +42,9 @@ text last queries
key enter
wait 10000 last queries
wait 10000 definition z.zig
+# The results pane the search opened takes the bottom half, which leaves the
+# report one row short of its second query: step the cursor past it.
+key j j j
wait 10000 explain z.zig
key space d
key space w j