summaryrefslogtreecommitdiff
path: root/test/snapshots/find.snap
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshots/find.snap')
-rw-r--r--test/snapshots/find.snap14
1 files changed, 13 insertions, 1 deletions
diff --git a/test/snapshots/find.snap b/test/snapshots/find.snap
index 03fefaa7..bad36bb6 100644
--- a/test/snapshots/find.snap
+++ b/test/snapshots/find.snap
@@ -66,7 +66,9 @@ key esc
settle 700
stable 400 5000
snap cancel
-# a no-match walk empties the buffer; n then has nowhere to go
+# a no-match walk empties the buffer; n then has nowhere to go. The list is
+# also exactly as tall as its results — one blank row plus its tag — because a
+# reused +Search refits to the new count.
key space
key f
key f
@@ -76,3 +78,13 @@ stable 700 10000
key n
stable 400 5000
snap nomatch
+# ... and it grows BACK when the next search finds more: the refit trades rows
+# with the neighbour in both directions, so three hits are three rows again
+key space
+key f
+key f
+text zqm
+key enter
+wait 10000 zqmark-alpha.txt
+stable 700 15000
+snap refit