about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2015-06-03 09:58:18 +0100
committerPeter Stephenson <pws@zsh.org>2015-06-03 09:58:18 +0100
commitbfac7f09df6224581dcd66c30e78a440ed22b812 (patch)
tree39a68f296e1fbc1001382034e7d0364671bf8fba /Test
parent897ad466920e6d46d317e0630b5263d4c37c907f (diff)
downloadzsh-bfac7f09df6224581dcd66c30e78a440ed22b812.tar.gz
zsh-bfac7f09df6224581dcd66c30e78a440ed22b812.tar.xz
zsh-bfac7f09df6224581dcd66c30e78a440ed22b812.zip
35374: tab expansion with double width characters
Diffstat (limited to 'Test')
-rw-r--r--Test/D07multibyte.ztst9
1 files changed, 9 insertions, 0 deletions
diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst
index 33e76bee7..c9ecb78e9 100644
--- a/Test/D07multibyte.ztst
+++ b/Test/D07multibyte.ztst
@@ -475,3 +475,12 @@
   . ./test_bad_param)
 127:Invalid parameter name with following tokenized input
 ?./test_bad_param:1: command not found: $\M-i#
+
+  lines=$'one\tZSH\tthree\nfour\tfive\tsix'
+  print -X8 -r -- $lines
+0:Tab expansion with extra-wide characters
+>one     ZSH  three
+>four    five    six
+# This doesn't look aligned in my editor because actually the characters
+# aren't quite double width, but the arithmetic is correct.
+# It appears just to be an effect of the font.