about summary refs log tree commit diff
path: root/Test/D07multibyte.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-10-10 17:51:29 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-10-10 17:51:29 +0000
commitaf5a85f3630f3d60ad7061fe32693baf78c27dcd (patch)
tree57a70dffb5fda8bd5cc77ea03ca7479954de9eea /Test/D07multibyte.ztst
parent6fea7f0d3c4d30ddc78db9e798a3ef9427abbc6f (diff)
downloadzsh-af5a85f3630f3d60ad7061fe32693baf78c27dcd.tar.gz
zsh-af5a85f3630f3d60ad7061fe32693baf78c27dcd.tar.xz
zsh-af5a85f3630f3d60ad7061fe32693baf78c27dcd.zip
28339: backslash-newline history without HIST_LEX_WORDS
28340: assignment to range of scalar variable with multibyte characters
Diffstat (limited to 'Test/D07multibyte.ztst')
-rw-r--r--Test/D07multibyte.ztst18
1 files changed, 18 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index 53cbe2a1d..2cb995346 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -447,3 +447,21 @@
   print $(( [#16] #REPLY ))
 0:read passes through invalid multibyte characters
 >0xC5
+
+  word=abcま          
+  word[-1]=
+  print $word
+  word=abcま 
+  word[-2]=
+  print $word
+  word=abcま 
+  word[4]=d
+  print $word
+  word=abcま 
+  word[3]=not_c
+  print $word  
+0:assignment with negative indices
+>abc
+>abま
+>abcd
+>abnot_cま