diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 2000-07-17 10:35:58 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 2000-07-17 10:35:58 +0000 |
commit | cd96c63fe722566769a4de84affae1a6c89cc3c7 (patch) | |
tree | 20af2e15c2709f2dfe7d2907655cf6b078dc897e /Test/53completion.ztst | |
parent | 5c412f89052d9ed37ba34078931e2f55c72da4b1 (diff) | |
download | zsh-cd96c63fe722566769a4de84affae1a6c89cc3c7.tar.gz zsh-cd96c63fe722566769a4de84affae1a6c89cc3c7.tar.xz zsh-cd96c63fe722566769a4de84affae1a6c89cc3c7.zip |
* 12274: Test/53completion.ztst, Test/55arguments.ztst,
Test/.distfiles: separates _arguments tests.
Diffstat (limited to 'Test/53completion.ztst')
-rw-r--r-- | Test/53completion.ztst | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/Test/53completion.ztst b/Test/53completion.ztst index b548a9bf7..44a2d19bb 100644 --- a/Test/53completion.ztst +++ b/Test/53completion.ztst @@ -49,100 +49,3 @@ >DI:{dir2} >FI:{file1} >FI:{file2} - - comptesteval 'compdef _tst tst; _tst () { _arguments ":desc1:(arg1)" }' - comptest $'tst \t' -0:_arguments ->line: {tst arg1 }{} - - comptest $'tst a\t' -0:_arguments ->line: {tst arg1 }{} - - comptest $'tst ar\t' -0:_arguments ->line: {tst arg1 }{} - - comptest $'tst arg\t' -0:_arguments ->line: {tst arg1 }{} - - comptest $'tst arg1\t' -0:_arguments ->line: {tst arg1 }{} - - comptest $'tst r\t' -0:_arguments ->line: {tst r}{} - - comptest $'tst x\t' -0:_arguments ->line: {tst x}{} - - comptest $'tst a \t' -0:_arguments ->line: {tst a }{} ->MESSAGE:{no more arguments} - - comptest $'tst a b \t' -0:_arguments ->line: {tst a b }{} ->MESSAGE:{no more arguments} - - comptesteval 'compdef _tst tst; _tst () { _arguments ":desc1:(a b)" }' - comptest $'tst \t' -0:_arguments ->line: {tst }{} ->DESCRIPTION:{desc1} ->NO:{a} ->NO:{b} - - comptesteval 'compdef _tst tst; _tst () { _arguments ":desc1:(arg1)" ":desc2:(arg2)" ":desc3:(arg3)" }' - comptest $'tst \t' -0:_arguments ->line: {tst arg1 }{} - - comptest $'tst arg1 \t' -0:_arguments ->line: {tst arg1 arg2 }{} - - comptest $'tst arg1 arg2 \t' -0:_arguments ->line: {tst arg1 arg2 arg3 }{} - - comptest $'tst \C-D' -0:_arguments ->DESCRIPTION:{desc1} ->NO:{arg1} - - comptesteval 'compdef _tst tst; _tst () { _arguments "-\+[opt]" }' - comptest $'tst -\C-D' -0:_arguments ->DESCRIPTION:{option} ->NO:{-+ -- opt} - - comptesteval 'compdef _tst tst; _tst () { _arguments "1:desc1:(arg1)" }' - comptest $'tst \t' -0:_arguments ->line: {tst arg1 }{} - - comptesteval 'compdef _tst tst; _tst () { _arguments "-x" ":arg:" }' - comptest $'tst -\t' -0:_arguments ->line: {tst -}{} ->MESSAGE:{arg} - - comptesteval 'compdef _tst tst; _tst () { _arguments "-x:arg:" }' - comptest $'tst -x\t' -0:_arguments ->line: {tst -x }{} - - comptesteval ' - compdef _tst tst - _tst () { _arguments "-a" "*::rest:_tst2" } - _tst2 () { compadd - -b } - ' - comptest $'tst arg -\t' -0:_arguments ->line: {tst arg -b }{} - |