Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: typeset -p with assoc array (was Re: Typeset with array)
Here are Test/* changes to go with workers/35581 in case we want it.
diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst
index a4401cb..302659c 100644
--- a/Test/A06assign.ztst
+++ b/Test/A06assign.ztst
@@ -430,7 +430,7 @@
0:GLOB_ASSIGN with numeric types
>typeset -i i=0
>typeset -a n
->n=(tmpfile1 tmpfile2)
+>n=( tmpfile1 tmpfile2 )
>typeset x=tmpfile2
>typeset -E f=4.000000000e+00
diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst
index 57a7caa..057f74b 100644
--- a/Test/B02typeset.ztst
+++ b/Test/B02typeset.ztst
@@ -451,7 +451,7 @@
fn
1:declare -p shouldn't create scoped values
>typeset -a array
->array=(foo bar)
+>array=( foo bar )
?fn:typeset: no such variable: nonexistent
unsetopt typesetsilent
@@ -502,9 +502,9 @@
typeset -pm 'r[12]'
0:readonly -p output
>typeset -a a1
->a1=(one two)
+>a1=( one two )
>typeset -ar a1
>typeset -a a2
->a2=(three four)
+>a2=( three four )
>typeset -r r1=yes
>typeset -r r2=no
Messages sorted by:
Reverse Date,
Date,
Thread,
Author