summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Test/Y03arguments.ztst6
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 641992bd1..a1a4a0850 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
 
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