about summary refs log tree commit diff
path: root/Test/V10private.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-10-24 07:14:39 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-10-24 07:14:39 -0700
commit0f5e670cde5f844680a20f986786249dfe983584 (patch)
treef912a4991610294666f2ec708dff1d87a58ea0b5 /Test/V10private.ztst
parent71dd0ab62ecf67e3a4a60749e9f5b1cfc9ac0ec4 (diff)
downloadzsh-0f5e670cde5f844680a20f986786249dfe983584.tar.gz
zsh-0f5e670cde5f844680a20f986786249dfe983584.tar.xz
zsh-0f5e670cde5f844680a20f986786249dfe983584.zip
"typeset -p" uses "export" commands or the "-g" option for parameters that are not local to the current scope
Diffstat (limited to 'Test/V10private.ztst')
-rw-r--r--Test/V10private.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/V10private.ztst b/Test/V10private.ztst
index 320e35764..7ebf5a87f 100644
--- a/Test/V10private.ztst
+++ b/Test/V10private.ztst
@@ -129,7 +129,7 @@
 0:private hides value from surrounding scope in nested scope
 >typeset -a hash_test=( top level )
 >typeset -A hash_test=( in function )
->typeset -a hash_test=( top level )
+>typeset -g -a hash_test=( top level )
 >array-local top level
 >top level
 F:note "typeset" rather than "private" in output from outer