From cebec8926a31db3ed2dccca7d2b317ac8baa6afc Mon Sep 17 00:00:00 2001 From: dana Date: Wed, 8 May 2019 18:23:33 -0500 Subject: unposted: Fix bad encoding in previous Y01 test patch --- Test/Y01completion.ztst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Test') 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' -- cgit 1.4.1