about summary refs log tree commit diff
path: root/Test/V10private.ztst
diff options
context:
space:
mode:
authorBart Schaefer <schaefer@ipost.com>2020-12-17 21:08:47 -0800
committerBart Schaefer <schaefer@ipost.com>2021-04-13 21:18:35 -0700
commitdcd4439a9f3a2212d753ece6ef644aed2ec4d333 (patch)
treeec72325d2e9e2b44d817161a6a1741434ad8f394 /Test/V10private.ztst
parent3099e79d25cd1cb1f718a060eadb4bb55080d816 (diff)
downloadzsh-dcd4439a9f3a2212d753ece6ef644aed2ec4d333.tar.gz
zsh-dcd4439a9f3a2212d753ece6ef644aed2ec4d333.tar.xz
zsh-dcd4439a9f3a2212d753ece6ef644aed2ec4d333.zip
Missed files from POSXIBUILTINS commit
Diffstat (limited to 'Test/V10private.ztst')
-rw-r--r--Test/V10private.ztst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Test/V10private.ztst b/Test/V10private.ztst
index a3a63867b..03e8259d5 100644
--- a/Test/V10private.ztst
+++ b/Test/V10private.ztst
@@ -19,14 +19,14 @@
  () {
   print $scalar_test
   private scalar_test
-  print $+scalar_test
+  typeset +m scalar_test
   unset scalar_test
   print $+scalar_test
  }
  print $scalar_test
 0:basic scope hiding
 >toplevel
->1
+>local scalar_test
 >0
 >toplevel
 
@@ -45,14 +45,14 @@
  print $+unset_test
  () {
   private unset_test
-  print $+unset_test
+  typeset +m unset_test
   unset_test=setme
   print $unset_test
  }
  print $+unset_test
 0:variable defined only in scope
 >0
->1
+>local unset_test
 >setme
 >0
 
@@ -62,13 +62,13 @@
   local -Pa array_test=(in function)
   () {
    private array_test
-   print $+array_test
+   typeset +m array_test
   }
   print $array_test
  }
  print $array_test
 0:nested scope with different type, correctly restored
->1
+>local array_test
 >in function
 >top level