summaryrefslogtreecommitdiff
path: root/test/snapshots/tag.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/tag.snap')
-rw-r--r--test/snapshots/tag.snap16
1 files changed, 9 insertions, 7 deletions
diff --git a/test/snapshots/tag.snap b/test/snapshots/tag.snap
index b0c9de44..966bfd52 100644
--- a/test/snapshots/tag.snap
+++ b/test/snapshots/tag.snap
@@ -6,7 +6,9 @@ file t.txt ZZLOOKED
start 30 150 -n 3
wait 8000 t.txt
stable 700 20000
-# click into the tag tail of pane 0: straight into insert. The layout box shows
+# click into the tag tail of pane 0: straight into insert. Column 40 is inside
+# the gap that right-aligns the builtins — ordinary spaces in the tag, so this
+# is the tail like any other part of it. The layout box shows
# the pane's BODY mode, not the tag's, so the evidence for "this click went to
# insert" is the next step — the typed text lands as text instead of running as
# normal-mode commands.
@@ -32,12 +34,12 @@ key esc
settle 100
stable 400 5000
snap tag-exit
-# re-enter the tag and look the typed word: Enter opens t.txt as a file pane
-press left 40 2
-release left 40 2
-stable 400 5000
-key left
-key left
+# re-enter the tag and look the typed word: Enter opens t.txt as a file pane.
+# Clicked ON the word rather than past the end of the tag and walked back into
+# it — the builtins are right-aligned now (config.tag_right_pad), so the tag no
+# longer ends where the typing does and a click past it lands in the gap.
+press left 43 2
+release left 43 2
stable 400 5000
key enter
wait 10000 ZZLOOKED