summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2016-12-22 16:12:42 +0100
committerOliver Kiddle <opk@zsh.org>2016-12-22 16:12:42 +0100
commit02eb1595e8687fd0facd4a8b0e4a19c61a35b664 (patch)
tree77fcef536981560f835363abd6e8c0f50763fdab /Test
parentfa88f57c066b8f00bf08b0e1a787b6d9b4cf8485 (diff)
downloadzsh-02eb1595e8687fd0facd4a8b0e4a19c61a35b664.tar.gz
zsh-02eb1595e8687fd0facd4a8b0e4a19c61a35b664.tar.xz
zsh-02eb1595e8687fd0facd4a8b0e4a19c61a35b664.zip
40162: _arguments support for a match spec in combination with sets
Diffstat (limited to 'Test')
-rw-r--r--Test/Y03arguments.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/Y03arguments.ztst b/Test/Y03arguments.ztst
index 6f0cac034..d09b118a2 100644
--- a/Test/Y03arguments.ztst
+++ b/Test/Y03arguments.ztst
@@ -277,6 +277,11 @@
 >line: {tst j}{}
 >line: {tst -y }{}
 
+ tst_arguments -M 'm:{j}={y}' -y -n - set1 -i - set2 -k
+ comptest $'tst -k -j\t'
+0:matcher in combination with sets (implies separate cadef structure)
+>line: {tst -k -y }{}
+
  tst_arguments -x :word
  comptest $'tst -- -\t'
 0:option after --