about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2014-01-09 10:05:13 +0000
committerPeter Stephenson <pws@zsh.org>2014-01-09 10:05:13 +0000
commitd26461a3c61b311bdbd58334ee5f8a5113dcdbf2 (patch)
tree0bd7ce04f457b52718e94d22310ee7340bdbdd9e /Test
parenta34754e962d323ac828a60a233587204c35b7690 (diff)
downloadzsh-d26461a3c61b311bdbd58334ee5f8a5113dcdbf2.tar.gz
zsh-d26461a3c61b311bdbd58334ee5f8a5113dcdbf2.tar.xz
zsh-d26461a3c61b311bdbd58334ee5f8a5113dcdbf2.zip
users/18298 (tidied up): add {<char>..<char>} expansion
Diffstat (limited to 'Test')
-rw-r--r--Test/D09brace.ztst15
1 files changed, 15 insertions, 0 deletions
diff --git a/Test/D09brace.ztst b/Test/D09brace.ztst
index d0ec93cd3..3e667a8d1 100644
--- a/Test/D09brace.ztst
+++ b/Test/D09brace.ztst
@@ -97,3 +97,18 @@
 0:BRACE_CCL off
 >X{za-q521}Y
 
+  print -r hey{a..j}there
+0:{char..char} ranges, simple case
+>heyathere heybthere heycthere heydthere heyethere heyfthere heygthere heyhthere heyithere heyjthere
+
+  print -r gosh{1,{Z..a},2}cripes
+0:{char..char} ranges, ASCII ordering
+>gosh1cripes goshZcripes gosh[cripes gosh\cripes gosh]cripes gosh^cripes gosh_cripes gosh`cripes goshacripes gosh2cripes
+
+  print -r crumbs{y..p}ooh
+0:{char..char} ranges, reverse
+>crumbsyooh crumbsxooh crumbswooh crumbsvooh crumbsuooh crumbstooh crumbssooh crumbsrooh crumbsqooh crumbspooh
+
+  print -r left{[..]}right
+0:{char..char} ranges with tokenized characters
+>left[right left\right left]right