summaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-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)$(...)}