diff options
author | Peter Stephenson <pws@zsh.org> | 2015-12-04 15:39:53 +0000 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2015-12-04 15:39:53 +0000 |
commit | 16684952fbea39879dcbd4356c8d20acad4912b0 (patch) | |
tree | 1fb75f0b8378bfd11f558ced8440200128bf6de9 /Test/V10private.ztst | |
parent | dc8c39efffd67c42ad5c630d892928a85a92dfca (diff) | |
download | zsh-16684952fbea39879dcbd4356c8d20acad4912b0.tar.gz zsh-16684952fbea39879dcbd4356c8d20acad4912b0.tar.xz zsh-16684952fbea39879dcbd4356c8d20acad4912b0.zip |
37305: typeset -p can now output arrays on one line
Diffstat (limited to 'Test/V10private.ztst')
-rw-r--r-- | Test/V10private.ztst | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Test/V10private.ztst b/Test/V10private.ztst index 513a3c43d..320e35764 100644 --- a/Test/V10private.ztst +++ b/Test/V10private.ztst @@ -127,12 +127,9 @@ outer print ${(kv)hash_test} 0:private hides value from surrounding scope in nested scope ->typeset -a hash_test ->hash_test=( top level ) ->typeset -A hash_test ->hash_test=( in function ) ->typeset -a hash_test ->hash_test=( top level ) +>typeset -a hash_test=( top level ) +>typeset -A hash_test=( in function ) +>typeset -a hash_test=( top level ) >array-local top level >top level F:note "typeset" rather than "private" in output from outer |