about summary refs log tree commit diff
path: root/Test/X02zlevi.ztst
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2014-11-30 23:37:01 +0100
committerOliver Kiddle <opk@zsh.org>2014-11-30 23:37:01 +0100
commitd2505f108e4144cde656a3568571fd0c195cdd1f (patch)
tree89700c39691a3e3db3270c73de7c28b8b2263e00 /Test/X02zlevi.ztst
parent62aa03931753e532cbae0fa56725bb5e2a757dff (diff)
downloadzsh-d2505f108e4144cde656a3568571fd0c195cdd1f.tar.gz
zsh-d2505f108e4144cde656a3568571fd0c195cdd1f.tar.xz
zsh-d2505f108e4144cde656a3568571fd0c195cdd1f.zip
33823: overwrite mode shouldn't replace newlines
Diffstat (limited to 'Test/X02zlevi.ztst')
-rw-r--r--Test/X02zlevi.ztst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst
index 1185a083d..8f9390250 100644
--- a/Test/X02zlevi.ztst
+++ b/Test/X02zlevi.ztst
@@ -43,6 +43,19 @@
 >
 >CURSOR: 2
 
+  zletest $'\eOword\eO\eraok\ejrxj.rae'
+0:replace character when at end of buffer or newline
+>BUFFER: ok
+>wxrd
+>e
+>CURSOR: 9
+
+  zletest $'two\eOone\ehRreplace'
+0:replace acts like insert at newline
+>BUFFER: oreplace
+>two
+>CURSOR: 8
+
   zletest $' four\eO\C-v\tthree\eO  two\eOone\e3J'
 0:join lines with line count
 >BUFFER: one two three