diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Test/Y01completion.ztst | 8 |
2 files changed, 6 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog index 6bbcd81ec..979327c70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -14,6 +14,8 @@ 2019-05-08 dana <dana@dana.is> + * unposted: Test/Y01completion.ztst: Fix bad encoding + * Oliver Kiddle: unposted: Test/Y01completion.ztst: Add compset tests related to workers/44275 diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst index 9c2eaaa5f..7ef319f7b 100644 --- a/Test/Y01completion.ztst +++ b/Test/Y01completion.ztst @@ -6,7 +6,7 @@ langs=(en_{US,GB}.{UTF-,utf}8 en.UTF-8 $(locale -a 2>/dev/null | egrep 'utf8|UTF-8')) for LANG in $langs; do - if [[ ?? = ? ]]; then + if [[ é = ? ]]; then ZSH_TEST_LANG=$LANG break; fi @@ -139,11 +139,11 @@ F:regression test workers/31611 ZTST_skip="no UTF-8 locale for multibyte completion test" else comptesteval '_tst() { compset -p 1; _message "${(qq)IPREFIX} ${(qq)PREFIX}" }' - comptest $'tst ???100\t' + comptest $'tst €100\t' fi 0:remove multibyte character from a prefix ->line: {tst ???100}{} ->MESSAGE:{'???' '100'} +>line: {tst €100}{} +>MESSAGE:{'€' '100'} comptesteval "_tst() { compadd -U -s : -S / -I . word; compstate[to_end]= }" comptest $'tst .\C-b\t' |