diff options
| author | Bart Schaefer <barts@users.sourceforge.net> | 2012-02-22 15:35:49 +0000 |
|---|---|---|
| committer | Bart Schaefer <barts@users.sourceforge.net> | 2012-02-22 15:35:49 +0000 |
| commit | 3604a9c4ac944f72be919b412567e1f54b8e4552 (patch) | |
| tree | ba30549236f53c0db719e763c000600f34984bc0 /Test | |
| parent | 30238 plus small tweaks: document the fork behaviour on suspending complex (diff) | |
| download | zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.tar zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.tar.gz zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.tar.bz2 zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.tar.lz zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.tar.xz zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.tar.zst zsh-3604a9c4ac944f72be919b412567e1f54b8e4552.zip | |
30242: Tests for ${...=...} in POSIX emulation
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/D04parameter.ztst | 5 |
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)$(...)} |
