Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] Fix verbose parameter completion tests
- X-seq: zsh-workers 51779
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: [PATCH] Fix verbose parameter completion tests
- Date: Wed, 24 May 2023 15:42:12 +0300
- Archived-at: <https://zsh.org/workers/51779>
- In-reply-to: <CAH+w=7ZYCP30CcweFgp0hFnHXiioX9YHdcjFtf=FrDTKBQJ+Ow@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7ZYCP30CcweFgp0hFnHXiioX9YHdcjFtf=FrDTKBQJ+Ow@mail.gmail.com>
---
Test/Y01completion.ztst | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index 693ea7d58..293b6c4a8 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -299,10 +299,10 @@ F:regression test workers/31611
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:*:parameters" verbose yes'
comptesteval 'zstyle ":completion:*" fake-parameters bar bat bay'
comptest $': $ba\t'
-0:extra-verbose shows parameter values
+0:verbose shows parameter values
>line: {: $ba}{}
>DESCRIPTION:{parameter}
>NO:{bar -- ( '^@' '^A' '^B' '^C' '^D' '^E' '^F' '^G' '^H' '\t' '\n' '^K' '^L' '}
@@ -312,15 +312,15 @@ F:regression test workers/31611
comptesteval "path=( $ZTST_srcdir:A )"
comptesteval 'typeset -H paths=HIDDEN'
comptest $': $path\t'
-0:extra-verbose doesn't show special or hidden parameter values
+0:verbose doesn't show special or hidden parameter values
>line: {: $path}{}
>DESCRIPTION:{parameter}
>NO:{path}
>NO:{paths}
- comptesteval 'zstyle -d ":completion:*:parameters" extra-verbose'
+ comptesteval 'zstyle -d ":completion:*:parameters" verbose'
comptest $': $ba\t'
-0:parameter values not shown without extra-verbose
+0:parameter values not shown without verbose
>line: {: $ba}{}
>DESCRIPTION:{parameter}
>NO:{bar}
--
2.39.2 (Apple Git-143)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author