summaryrefslogtreecommitdiff
path: root/test/snapshots/builtins.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-24 01:02:27 -0300
committerGabriel Schneider <[email protected]>2026-11-24 01:06:20 -0300
commit59b6ac1bae9cb6720252e1c3e1cc9d4f3a8ab3b1 (patch)
tree3e6fa55125052bd1e6c7cf89b5beb54ed424c942 /test/snapshots/builtins.golden
parentdefafb5ccce2ae30d3e16cc8fb57fb73485e03f4 (diff)
downloadpardes-59b6ac1bae9cb6720252e1c3e1cc9d4f3a8ab3b1.tar.gz
pardes-59b6ac1bae9cb6720252e1c3e1cc9d4f3a8ab3b1.zip
tests: two process cases read the view in rows (P62 round 3): the gate's process-test on the tip failed two cases the base passes, both the behaviour this line changes: "tty boot: builtins" waited after `/^ +Look ` Enter for Look's row AND Exec's row on the screen; the jump puts Look's row `scroll_off` ROWS above the body's bottom (round 2's ruling: the margin counts rows) and Look's documentation wraps, so Exec's row is under the body (the base's margin of three LINES showed it): the case now waits for Look's row and the first words of its documentation (its point unchanged: the search lands on Look, `n` executes nothing); its `tutor-from-index` snapshot and "tty boot: leader"'s `tutor` snapshot have the new pane one row lower, below the +Help pane's last text row (a wrapped line there counted two rows by item 3's `blankRows`; the base laid the new pane over that row): test/snapshots/builtins.golden and leader.golden updated a case at a time (`-- --update builtins`, `-- --update leader`) and read: their rows' texts the same but the shift, the Help pane's line 15 shown again in leader's, the Tutor's last row gone in each; process-test 0 of 146 failed (2 skipped), Debug
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/snapshots/builtins.golden')
-rw-r--r--test/snapshots/builtins.golden71
1 files changed, 35 insertions, 36 deletions
diff --git a/test/snapshots/builtins.golden b/test/snapshots/builtins.golden
index 6d5739ef..e9786c8a 100644
--- a/test/snapshots/builtins.golden
+++ b/test/snapshots/builtins.golden
@@ -55,40 +55,39 @@
|28:
|29:
|30:
-== snap tutor-from-index grid=120x67 cursor=7,36
+== snap tutor-from-index grid=120x67 cursor=7,37
|10: 1 pardes builtins under SPC h Tutor
-|25: +Search 1/1 Save Undock Del
-|26: /^ +Look
-|27: @p2:220:1 Look enter, right-click
-|35: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Follow Del
-|36: 1
-|37: 2 PARDES TUTOR
-|38: 3
-|39: 4 This pane is +Tutor, a copy: edit it freely; there is no need to
-|40: 5 Save it (a bare Save asks for a path to write a copy to).
-|41: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses
-|42: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a
-|43: 8 fresh copy.
-|44: 9
-|45: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part.
-|46: 11 Each lesson is a few things to do, then names its guide section.
-|47: 12 Words in backticks, like `Save`, are builtins.
-|48: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a
-|49: 14 shell line; `Look` (B3) opens what the text names, or else finds
-|50: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with
-|51: 16 "| " are tags.
-|52: 17
-|53: 18 Press j until you reach part 1.
-|54: 19
-|55: 20
-|56: 21 =================================================================
-|57: 22 = PART 1 — MODES =
-|58: 23 =================================================================
-|59: 24
-|60: 25 1. The box left of this pane's tag is blank, so you are in
-|61: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then
-|62: 27 Esc: blank again.
-|63: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the
-|64: 29 pane you were in before (not what helix does). Come back with
-|65: 30 Esc again.
-|66: 31 3. Press Alt-n: a terminal opens, in NORMAL mode, and pardes types
+|26: +Search 1/1 Save Undock Del
+|27: /^ +Look
+|28: @p2:220:1 Look enter, right-click
+|36: /tmp/pardes-snap/builtins/cwd/+Tutor Save Term Collapse Follow Del
+|37: 1
+|38: 2 PARDES TUTOR
+|39: 3
+|40: 4 This pane is +Tutor, a copy: edit it freely; there is no need to
+|41: 5 Save it (a bare Save asks for a path to write a copy to).
+|42: 6 `Del` in its tag closes it; once you have edited it, `Del` refuses
+|43: 7 once and the second `Del` discards. `Tutor` or SPC h t opens a
+|44: 8 fresh copy.
+|45: 9
+|46: 10 The guide (docs/typ/guide.typ) explains; this is the hands-on part.
+|47: 11 Each lesson is a few things to do, then names its guide section.
+|48: 12 Words in backticks, like `Save`, are builtins.
+|49: 13 `Exec` (B2) runs the builtin a word names, or else runs it as a
+|50: 14 shell line; `Look` (B3) opens what the text names, or else finds
+|51: 15 it. Type a builtin in any tag and `Exec` it. Lines starting with
+|52: 16 "| " are tags.
+|53: 17
+|54: 18 Press j until you reach part 1.
+|55: 19
+|56: 20
+|57: 21 =================================================================
+|58: 22 = PART 1 — MODES =
+|59: 23 =================================================================
+|60: 24
+|61: 25 1. The box left of this pane's tag is blank, so you are in
+|62: 26 NORMAL mode. Press i: it shows ^ (INSERT). Type a word, then
+|63: 27 Esc: blank again.
+|64: 28 2. Press Esc once more, in NORMAL: the keyboard goes back to the
+|65: 29 pane you were in before (not what helix does). Come back with
+|66: 30 Esc again.