about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2015-08-10 20:30:09 +0100
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2015-08-10 20:30:09 +0100
commit6fa8708bfcc44f2efbf8a38169bf62301d98ef0c (patch)
tree4d936ea73711bc504f1fa9ee9158346c474a10a3 /Test
parenta07f74fadd1180b42258d1fcec5359afe3f9ba00 (diff)
downloadzsh-6fa8708bfcc44f2efbf8a38169bf62301d98ef0c.tar.gz
zsh-6fa8708bfcc44f2efbf8a38169bf62301d98ef0c.tar.xz
zsh-6fa8708bfcc44f2efbf8a38169bf62301d98ef0c.zip
36083: set array value when consistently retying scalar and array
Diffstat (limited to 'Test')
-rw-r--r--Test/B02typeset.ztst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst
index a059442e9..2b8e5445c 100644
--- a/Test/B02typeset.ztst
+++ b/Test/B02typeset.ztst
@@ -467,9 +467,12 @@
  print $tied_array
  typeset -T TIED_SCALAR=goo:car tied_array
  print $tied_array
+ typeset -T TIED_SCALAR tied_array=(poo par)
+ print $TIED_SCALAR
 0:retying arrays to same array works
 >foo bar
 >goo car
+>poo:par
 
  (
    setopt POSIXBUILTINS