diff options
Diffstat (limited to 'Test')
-rw-r--r-- | Test/Y03arguments.ztst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/Y03arguments.ztst b/Test/Y03arguments.ztst index 25bb96b84..94ce8361e 100644 --- a/Test/Y03arguments.ztst +++ b/Test/Y03arguments.ztst @@ -333,6 +333,12 @@ 0:option after a word >line: {tst word -x }{} + tst_arguments -A '-*' -x --extra ::first + comptest $'tst word -\t' +0:long option after word that doesn't match -A pattern +>line: {tst word -}{} +>MESSAGE:{no more arguments} + tst_arguments -A'-*' -x :word comptest $'tst word -\t' 0:option after word that doesn't match -A pattern, no space before pattern |