about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-23 07:39:16 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-11-27 15:12:00 +0000
commiteccb7471b577d55f0b410088fc1125016476b332 (patch)
treed7b51d38c13ac1436fb0edf723cb3391e489df27 /Test
parent53e6b12bdfdc6b835192458bbb98b81b77599e75 (diff)
downloadzsh-eccb7471b577d55f0b410088fc1125016476b332.tar.gz
zsh-eccb7471b577d55f0b410088fc1125016476b332.tar.xz
zsh-eccb7471b577d55f0b410088fc1125016476b332.zip
39757 plus test: Fix completion under parenthetical directory names, broken in 39412
Diffstat (limited to 'Test')
-rw-r--r--Test/Y01completion.ztst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index 7d8d70d8e..113a45076 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -80,12 +80,15 @@ F:regression test workers/31611
 
   {
     mkdir 'A(B)' 'A(B)/C'
+    comptest $'cd "A(B)\t\t'
     comptesteval 'cd "A(B)/C"'
     comptest $'cd ../\t'
   } always {
     rmdir 'A(B)/C' 'A(B)'
   }
 0:directory name is not a glob qualifier
+>line: {cd "A(B)/}{}
+>line: {cd "A(B)/C/}{}
 >line: {cd ../C/}{}
 
   comptesteval "_tst() { compadd -U -s : -S / -I . word; compstate[to_end]= }"