diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-23 21:45:24 -0800 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2015-11-23 21:45:24 -0800 |
commit | e73b73e0b0d80db12761a04565c74a8dcfd23c51 (patch) | |
tree | 93f2d88c8a1746aabe7a425bfc9841ee89405dc2 /Test | |
parent | 4e90e27036d9bdaad71db895486f4895a5e6acf6 (diff) | |
download | zsh-e73b73e0b0d80db12761a04565c74a8dcfd23c51.tar.gz zsh-e73b73e0b0d80db12761a04565c74a8dcfd23c51.tar.xz zsh-e73b73e0b0d80db12761a04565c74a8dcfd23c51.zip |
37208: re-run the "typeset" tests with the private module loaded
Diffstat (limited to 'Test')
-rw-r--r-- | Test/V10private.ztst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Test/V10private.ztst b/Test/V10private.ztst index c66f17587..f877455fd 100644 --- a/Test/V10private.ztst +++ b/Test/V10private.ztst @@ -11,6 +11,11 @@ (zmodload -u zsh/param/private && zmodload zsh/param/private) 0:unload and reload the module without crashing + $ZTST_exe +Z -f $ZTST_srcdir/ztst.zsh $ZTST_srcdir/B02typeset.ztst +0:typeset still works with zsh/param/private module loaded +*>* +*>* + typeset scalar_test=toplevel () { print $scalar_test @@ -237,7 +242,7 @@ F:note "typeset" rather than "private" in output from outer } print Y ${(kv)hash_test} Z $array_test } - print ${(kv)hash_test} + print ${(kv)hash_test} ${(t)array_test} 0:privates are not visible in anonymous functions, part 3 >X top level >Y in function Z in function |