1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

unposted: add test case for partial completion matching of options with arguments

This commit is contained in:
Oliver Kiddle 2016-11-23 11:57:02 +01:00
parent ee1222454e
commit 07509be51a
2 changed files with 8 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2016-11-23 Oliver Kiddle <opk@zsh.org>
* unposted: Test/Y03arguments.ztst: partial match test case
* unposted: Src/builtin.c, Test/B03print.ztst: fix printf -v
to an array without format string reuse

View file

@ -304,6 +304,12 @@
>NO:{--abc}
>line: {tst --aah}{}
tst_arguments '--prefix=: :(one two)' '--prop=: :(three four)' --pre
comptest $'tst --pre=o\t --=\t'
0:partial completion of option with an argument
>line: {tst --prefix=one }{}
>line: {tst --prefix=one --prop=}{}
%clean
zmodload -ui zsh/zpty