mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-12-13 08:01:27 +01:00
unposted: add test case for partial completion matching of options with arguments
This commit is contained in:
parent
ee1222454e
commit
07509be51a
2 changed files with 8 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
2016-11-23 Oliver Kiddle <opk@zsh.org>
|
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
|
* unposted: Src/builtin.c, Test/B03print.ztst: fix printf -v
|
||||||
to an array without format string reuse
|
to an array without format string reuse
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -304,6 +304,12 @@
|
||||||
>NO:{--abc}
|
>NO:{--abc}
|
||||||
>line: {tst --aah}{}
|
>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
|
%clean
|
||||||
|
|
||||||
zmodload -ui zsh/zpty
|
zmodload -ui zsh/zpty
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue