summaryrefslogtreecommitdiff
path: root/test/snapshots/yankpaste.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-28 12:28:27 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit2b76b47c8a087b81be139b552d9a41bb2006dcd3 (patch)
treeafadf20ee86877f1125cec171a78fec9c42fac35 /test/snapshots/yankpaste.snap
parent4b53a39743dc5962e985fcf059a1222538d57b3f (diff)
downloadpardes-2b76b47c8a087b81be139b552d9a41bb2006dcd3.tar.gz
pardes-2b76b47c8a087b81be139b552d9a41bb2006dcd3.zip
fixing some crashes
Diffstat (limited to 'test/snapshots/yankpaste.snap')
-rw-r--r--test/snapshots/yankpaste.snap9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/snapshots/yankpaste.snap b/test/snapshots/yankpaste.snap
index 38ca6e3b..96082ad6 100644
--- a/test/snapshots/yankpaste.snap
+++ b/test/snapshots/yankpaste.snap
@@ -26,3 +26,12 @@ stable 400 5000
key v l y p
stable 400 5000
snap charwise-inline
+# a BLANK line yanks as a bare "\n": the block is empty, lineCount says 0
+# lines, and every `n - 1` in the linewise paste used to underflow — panic on
+# y then p. It pastes as one empty line.
+key o
+key esc
+settle 700
+key y p
+stable 400 5000
+snap blankline