about summary refs log tree commit diff
path: root/Test/D04parameter.ztst
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2012-02-22 15:35:49 +0000
committerBart Schaefer <barts@users.sourceforge.net>2012-02-22 15:35:49 +0000
commit3604a9c4ac944f72be919b412567e1f54b8e4552 (patch)
treeba30549236f53c0db719e763c000600f34984bc0 /Test/D04parameter.ztst
parentf9c94bd2218073ad2cf21be53f95a6efd5068e58 (diff)
downloadzsh-3604a9c4ac944f72be919b412567e1f54b8e4552.tar.gz
zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.tar.xz
zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.zip
30242: Tests for ${...=...} in POSIX emulation
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r--Test/D04parameter.ztst5
1 files changed, 4 insertions, 1 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 69606e453..7eb721226 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -264,10 +264,13 @@
     done
   }
   test_split_var=
-  : ${test_split_var:=$(test_splitting)}
+  echo _${test_split_var:=$(test_splitting)}_
   echo "_${test_split_var}_")
 0:SH_WORD_SPLIT inside $(...) inside ${...}
 >_'one' 'two' 'three'_
+>_'one'
+>'two'
+>'three'_
 
   print -l "${(f)$(print first line\\nsecond line\\nthird line)}"
 0:${(f)$(...)}