summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-11-23 11:57:02 +0100
committerOliver Kiddle <opk@zsh.org>2016-11-23 11:57:02 +0100
commit07509be51ae06b699dba6a3a85d76d79812a0d75 (patch)
tree719721e68d01cb033b0e1867e8eb10a37fbd9a89 /Test
parentee1222454e0fd58b70878ed6864146e00a835fd8 (diff)
downloadzsh-07509be51ae06b699dba6a3a85d76d79812a0d75.tar.gz
zsh-07509be51ae06b699dba6a3a85d76d79812a0d75.tar.xz
zsh-07509be51ae06b699dba6a3a85d76d79812a0d75.zip
unposted: add test case for partial completion matching of options with arguments
Diffstat (limited to 'Test')
-rw-r--r--Test/Y03arguments.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/Y03arguments.ztst b/Test/Y03arguments.ztst
index 0763c419d..d59ed5424 100644
--- a/Test/Y03arguments.ztst
+++ b/Test/Y03arguments.ztst
@@ -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