35374: tab expansion with double width characters

This commit is contained in:
Peter Stephenson 2015-06-03 09:58:18 +01:00
parent 897ad46692
commit bfac7f09df
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2015-06-03 Peter Stephenson <p.stephenson@samsung.com>
* 35374: Test/D07multibyte.ztst: add tab expansion test with
double width characters.
2015-06-02 Peter Stephenson <p.stephenson@samsung.com>
* 35369: Test/A06assign.ztst, Test/E01options.ztst: better

View file

@ -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\t\tthree\nfour\tfive\tsix'
print -X8 -r -- $lines
0:Tab expansion with extra-wide characters
>one 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.