Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Y01 Test Failure on Arch



Ping.  The failure still occurs.

HTH,
  Vin

On Thu, Apr 1, 2021 at 12:05 AM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:

> 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.?)


Messages sorted by: Reverse Date, Date, Thread, Author