diff options
Diffstat (limited to 'test/snapshots/lspcomplete.snap')
| -rw-r--r-- | test/snapshots/lspcomplete.snap | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/snapshots/lspcomplete.snap b/test/snapshots/lspcomplete.snap index 8baa870e..53ce7ef9 100644 --- a/test/snapshots/lspcomplete.snap +++ b/test/snapshots/lspcomplete.snap @@ -18,14 +18,14 @@ # script the only end-to-end coverage the feature has. file a.zig const Shade = enum {\n verdigris,\n cinnabar,\n};\n\nfn pick(s: Shade) u8 {\n return switch (s) {\n \n };\n}\n\n// note. see below\n file notes.txt abc.def ghi\n -start 40 120 a.zig +start 41 120 a.zig wait 8000 verdigris stable 700 20000 snap opened # Tab with no dot before it is still Tab: line 10 is the closing `}`, and this # is the plain insert_tab path putting spaces in front of it. -press left 8 12 -release left 8 12 +press left 8 13 +release left 8 13 key i key tab stable 400 5000 @@ -38,8 +38,8 @@ settle 100 # retroactively when the empty answer arrives (lspResponse), on the condition # that the cursor has not moved meanwhile. Four spaces go in after `// note.` # and the keystroke is not eaten, which is the whole contract. -press left 16 14 -release left 16 14 +press left 16 15 +release left 16 15 stable 400 5000 key i key tab @@ -49,8 +49,8 @@ key esc settle 100 # Line 8 (grid row 9, 1-based click row 10) is the switch's empty body. End # puts the cursor past its indent, and then the dot is typed. -press left 8 10 -release left 8 10 +press left 8 11 +release left 8 11 stable 400 5000 key i key end @@ -98,11 +98,11 @@ snap step # cursor, and Tab must still indent — synchronously this time, since the core # never asks. The gate is lsp.speaks, which the core consults and the backend # owns. -start 40 120 notes.txt +start 41 120 notes.txt wait 8000 abc.def stable 700 20000 -press left 12 3 -release left 12 3 +press left 12 4 +release left 12 4 key i key tab stable 400 5000 @@ -117,11 +117,11 @@ snap txtindent # identifier spliced in, so the repair has to be chosen by whether it makes the # dot reachable in the tree, never by counting errors. file c.zig const Shade = enum {\n verdigris,\n cinnabar,\n};\n\npub fn nosemi() void {\n const z: Shade = \n}\n -start 18 100 c.zig +start 19 100 c.zig wait 8000 nosemi stable 700 20000 -press left 8 9 -release left 8 9 +press left 8 10 +release left 8 10 stable 400 5000 key i key end @@ -138,11 +138,11 @@ snap nosemi # as well, on the same line (a spelling containing a newline would move every # line number the rows are built from). file d.zig const Shade = enum {\n verdigris,\n cinnabar,\n};\n\npub fn nobrace(s: Shade) void {\n switch (s) {\n \n}\n -start 18 100 d.zig +start 19 100 d.zig wait 8000 nobrace stable 700 20000 -press left 8 10 -release left 8 10 +press left 8 11 +release left 8 11 stable 400 5000 key i key end |
