about summary refs log tree commit diff
path: root/Test/D02glob.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-10-26 17:20:21 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-10-26 17:20:21 +0000
commitc8e70ab5cffaffacf6d0a4e81df4fbd685378bfd (patch)
tree05c643d439176b1feee4456b07b3a2e6d5f9643a /Test/D02glob.ztst
parentced347cf3afd9475e07ae3676b6d637243bdabb2 (diff)
downloadzsh-c8e70ab5cffaffacf6d0a4e81df4fbd685378bfd.tar.gz
zsh-c8e70ab5cffaffacf6d0a4e81df4fbd685378bfd.tar.xz
zsh-c8e70ab5cffaffacf6d0a4e81df4fbd685378bfd.zip
20522: must-match optimisation in parameter substitution broken
Diffstat (limited to 'Test/D02glob.ztst')
-rw-r--r--Test/D02glob.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index c7976225d..f35e5eb75 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -312,3 +312,8 @@
  [[ "" = "" ]] && echo OK
 0:Empty strings
 >OK
+
+ foo="this string has a : colon in it"
+ print ${foo%% #:*}
+0:Must-match arguments in complex patterns
+>this string has a