about summary refs log tree commit diff
path: root/Test/B03print.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/B03print.ztst')
-rw-r--r--Test/B03print.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/B03print.ztst b/Test/B03print.ztst
index a4431cbc8..6ee2a09c6 100644
--- a/Test/B03print.ztst
+++ b/Test/B03print.ztst
@@ -310,3 +310,9 @@
 0:print and printf into a variable
 >typeset -g foo='once more'
 >typeset -g foo=$'into\C-@the-breach\C-@-'
+
+ typeset -a foo
+ print -f '%2$d %4s' -v foo one 1 two 2 three 3
+ typeset -p foo
+0:printf into an array variable
+>typeset -a foo=( '1  one' '2  two' '3 three' )