summaryrefslogtreecommitdiffstats
path: root/Test/Y01completion.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2013-12-25 16:27:04 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2013-12-25 16:27:04 -0800
commitd83faa9d9955b6b449a91e16700155b144c56a50 (patch)
treecf24439505975239830d6d60c163ba3d558bf8dd /Test/Y01completion.ztst
parent32182: re-enable command completion after a separator (diff)
downloadzsh-d83faa9d9955b6b449a91e16700155b144c56a50.tar
zsh-d83faa9d9955b6b449a91e16700155b144c56a50.tar.gz
zsh-d83faa9d9955b6b449a91e16700155b144c56a50.tar.bz2
zsh-d83faa9d9955b6b449a91e16700155b144c56a50.tar.lz
zsh-d83faa9d9955b6b449a91e16700155b144c56a50.tar.xz
zsh-d83faa9d9955b6b449a91e16700155b144c56a50.tar.zst
zsh-d83faa9d9955b6b449a91e16700155b144c56a50.zip
32183: regression tests for 32182 and 31611
Diffstat (limited to 'Test/Y01completion.ztst')
-rw-r--r--Test/Y01completion.ztst22
1 files changed, 21 insertions, 1 deletions
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index 1d21c2a33..906a634de 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -45,7 +45,7 @@
>line: {: ~user1}{}
comptest $'echo ;:\C-b\C-b\t'
-0:tilde
+0:directories and files before separator
>line: {echo }{;:}
>DESCRIPTION:{file}
>DI:{dir1}
@@ -53,6 +53,26 @@
>FI:{file1}
>FI:{file2}
+# Depends on path assignment in comptestinit
+ comptest $'zt\t'
+0:command
+>line: {ztst.zsh }{}
+
+ comptest $':;zt\t'
+0:command after separator
+>line: {:;ztst.zsh }{}
+F:regression test workers/32182
+
+ comptest $'for f in 1; do < x\C-b\C-b\t'
+0:redirection after "for ...; do"
+>line: {for f in 1; do <}{ x}
+>DESCRIPTION:{file}
+>DI:{dir1}
+>DI:{dir2}
+>FI:{file1}
+>FI:{file2}
+F:regression test workers/31611
+
%clean
zmodload -ui zsh/zpty