about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorMarlon Richert <marlonrichert@users.noreply.github.com>2021-11-12 21:52:18 +0200
committerOliver Kiddle <opk@zsh.org>2021-11-12 22:13:10 +0100
commitc7f4634549697a65af0dc82e97e8b066bfb81f6c (patch)
treef392ebeea2fbe1390a65c004e5a105ee368c013c /Test
parent9c515a5a2f67e39b049d50e364ebfe17e536cc23 (diff)
downloadzsh-c7f4634549697a65af0dc82e97e8b066bfb81f6c.tar.gz
zsh-c7f4634549697a65af0dc82e97e8b066bfb81f6c.tar.xz
zsh-c7f4634549697a65af0dc82e97e8b066bfb81f6c.zip
49572: Let _expand preserve array form w/out zstyle glob
Diffstat (limited to 'Test')
-rw-r--r--Test/Y01completion.ztst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/Y01completion.ztst b/Test/Y01completion.ztst
index 882a0adc4..6af0efc6d 100644
--- a/Test/Y01completion.ztst
+++ b/Test/Y01completion.ztst
@@ -62,6 +62,17 @@
 >line: {: dir1 dir2 file1 file2 }{}
 >line: {: *}{}
 
+  comptesteval $'zstyle \'*\' glob no'
+  comptesteval $'typeset -g tst=(*)'
+  comptest $': $tst\C-D'
+0:_expand preserves array form
+>DESCRIPTION:{expansions}
+>NO:{dir1}
+>NO:{dir2}
+>NO:{file1}
+>NO:{file2}
+
+  comptesteval $'zstyle -d \'*\' glob'
   comptesteval '_users () { compadd user1 user2 }'
   comptest $': ~\t\t\t\t\t'
 0:tilde