From d3906d7a2fb64ae5c33576cd98872262fb686383 Mon Sep 17 00:00:00 2001 From: dana Date: Sun, 28 Mar 2021 00:22:59 -0500 Subject: 48216: Fix broken Y01 test from workers/48180 --- ChangeLog | 5 +++++ Test/Y01completion.ztst | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 19e503e4a..91058b69f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2021-03-28 dana + + * 48216: Test/Y01completion.ztst: Fix broken test from + workers/48180 + 2021-03-26 Daniel Shahaf * 48131/0004: Etc/FAQ.yo: FAQ: 3.31: Rearrange diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst index f6474c4a1..571f3cf16 100644 --- a/Test/Y01completion.ztst +++ b/Test/Y01completion.ztst @@ -240,7 +240,10 @@ F:regression test workers/31611 comptesteval '_tst() { local disp=( {a..z} ); compadd -ld disp $disp[@]; comppostfuncs=( _pst ) }' comptesteval '_pst() { local disp=( "$compstate[insert]" ); compadd -Qld disp $disp }' comptesteval "zstyle ':completion:*' menu select=long-list" + # This test is sensitive to sorting differences across platforms + comptesteval 'export LC_ALL=C' comptest $'tst \C-d' + comptesteval "export LC_ALL=${(q)ZSH_TEST_LANG}" 0: menu select=long-list starts menu selection for list widgets >NO:{menu} >NO:{a} -- cgit 1.4.1