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

Re: [PATCH] Use zstyle verbose for _parameters descriptions



Indeed.  I'm getting this error when I test the latest sources:

  comptesteval 'zstyle ":completion:*" fake-parameters bar bat bay'
  comptest $': $ba\t'
Was testing: extra-verbose shows parameter values
../../../src/zsh-2023-05-30/Test/Y01completion.ztst: test failed.
../../../src/zsh-2023-05-30/Test/Y02compmatch.ztst: starting.

This is on arch linux, in case it matters.  Many thanks for fixing this.

  - Vin


On Tue, May 23, 2023 at 2:28 PM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
Test/Y01completion.ztst needs to be updated for this patch.

Test ./Y01completion.ztst failed: output differs from expected as
shown above for:
  comptesteval "typeset -a bar=({$'\\0'..$'\\C-?'})"
  comptesteval 'typeset -A bat=( "$bar[@]" )'
  comptesteval 'typeset bay="$bar"'
  comptesteval 'zstyle ":completion:*:parameters" extra-verbose yes'
  comptesteval 'zstyle ":completion:*" fake-parameters bar bat bay'
  comptest $': $ba\t'
Was testing: extra-verbose shows parameter values



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