about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2011-01-18 10:29:58 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2011-01-18 10:29:58 +0000
commitaa58d139ff3ffa7258a6273bf279d70f9ee31916 (patch)
treeb0835cc3411f8689289c8c6acd868f78c611685a /Test
parent931a3b6405c28d72ae609703ce63c3e6fdbd8655 (diff)
downloadzsh-aa58d139ff3ffa7258a6273bf279d70f9ee31916.tar.gz
zsh-aa58d139ff3ffa7258a6273bf279d70f9ee31916.tar.xz
zsh-aa58d139ff3ffa7258a6273bf279d70f9ee31916.zip
Mikael: 28637: ${foo:0:} caused crash
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index b708b4bd2..c0ad1d29a 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -1405,3 +1405,8 @@
    printf "%n" '[0]'
 1:Regression test for identifier test
 ?(eval):1: not an identifier: [0]
+
+   str=rts
+   print ${str:0:}
+1:Regression test for missing length after offset
+?(eval):2: unrecognized modifier