summaryrefslogtreecommitdiff
path: root/test/snapshots/lookrange.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/lookrange.snap')
-rw-r--r--test/snapshots/lookrange.snap10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/snapshots/lookrange.snap b/test/snapshots/lookrange.snap
index 29f88d7f..b64607a1 100644
--- a/test/snapshots/lookrange.snap
+++ b/test/snapshots/lookrange.snap
@@ -48,19 +48,17 @@ stable 700 15000
snap stale
snapstyle stale
# --- and now the first consumer. The look above left r.txt focused, so `/`
-# arms on it: the rows it writes carry the match's span, so n selects a row
-# and the Enter after it goes to that hit with the word itself selected.
+# arms on it: the rows it writes carry the match's span, and the submit goes
+# straight to the first of them — with the word itself selected, which is the
+# whole reason the row spells a range and not a position.
key /
text NEEDLE
key enter
wait 10000 r.txt:7:4-9 gg NEEDLE
stable 700 15000
-snap results
-key n
-key enter
-stable 700 15000
snap hit1
snapstyle hit1
+# n selects the next row, and the Enter after it goes to that hit
key n
key enter
stable 700 15000