about summary refs log tree commit diff
path: root/Test/D04parameter.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <p.stephenson@samsung.com>2018-11-21 10:10:03 +0000
committerPeter Stephenson <p.stephenson@samsung.com>2018-11-21 10:10:03 +0000
commit50f8fa972c3795a115e7faff0b4c140b40eab5f0 (patch)
treee179ad02a9e1d463634e04bf35a249d253a91a98 /Test/D04parameter.ztst
parent8d0f7681a05c4c49a22cb67b585f54e6f2e29931 (diff)
downloadzsh-50f8fa972c3795a115e7faff0b4c140b40eab5f0.tar.gz
zsh-50f8fa972c3795a115e7faff0b4c140b40eab5f0.tar.xz
zsh-50f8fa972c3795a115e7faff0b4c140b40eab5f0.zip
43837 plus test from Daniel: Empty string in nested subst.
Skip Nularg or there is a bogus character at the start.
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r--Test/D04parameter.ztst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index e327a784c..7ab2384aa 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -2430,3 +2430,10 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888
   )
 0:Use of parameter subst + to test element of hash with KSH_ARRAYS.
 >0
+
+ for baz in "" "inga"; do
+   echo ${#${baz}} "${#${baz}}" ${#baz} "${#baz}"
+ done
+0:double-quoted nested evaluation of empty string
+>0 0 0 0
+>4 4 4 4