> 2021/03/31 22:40, Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Building from the latest sources on endeavouros (Arch):
(snip)
> Test ../../../src/zsh-2021-03-31/Test/Y01completion.ztst failed: output differs from expected as shown above for:
> comptest $': *\t\t\t\t\t\t\t'
> Was testing: _expand shows file types
Same in Ubuntu, Fedora and macOS.
It seems we need to call complete-word instead of expand-or-complete,
and include _expand in the 'completer' style.
The patch below works (all the test pass with the patch), but
I'm not sure this is the best solution.
In the patch I simply replaced expand-or-complete by complete-word
in the function expand-or-complete-with-report() defined in comptest.
(Do we also need to change the function name etc.?)