about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2017-09-10 18:01:39 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2017-09-10 18:01:39 +0100
commite44600d9aac905aea08050c7387d6effd52c8539 (patch)
treed1f9ff704a01a16941bd42d483996214d082d7ee /Test
parent6401caa1836fcd0c0325423eb5a8eedb6c7400cd (diff)
downloadzsh-e44600d9aac905aea08050c7387d6effd52c8539.tar.gz
zsh-e44600d9aac905aea08050c7387d6effd52c8539.tar.xz
zsh-e44600d9aac905aea08050c7387d6effd52c8539.zip
41661: Need to remove tokens before using bufferwords() for (z)
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 3c93990f1..8dbc1e8b8 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -2200,3 +2200,10 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888
 >Option
 >Regular text
 >Option
+
+ (setopt nonomatch
+  print ${(z):-foo-bar*thingy?}
+ )
+0:(z) splitting with remaining tokens
+>foo-bar*thingy?
+