summary refs log tree commit diff
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2018-09-25 16:38:32 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2018-09-25 16:38:38 +0000
commit64a26b209147e4f99e752eceb44905e71feb5ab0 (patch)
tree9113318443509d37f43258764c2ad7b5e864cc94
parenta75b47973d65b92c33078e06ec080a945e076943 (diff)
downloadzsh-64a26b209147e4f99e752eceb44905e71feb5ab0.tar.gz
zsh-64a26b209147e4f99e752eceb44905e71feb5ab0.tar.xz
zsh-64a26b209147e4f99e752eceb44905e71feb5ab0.zip
unposted: Add a test for 43546.
-rw-r--r--ChangeLog4
-rw-r--r--Test/B02typeset.ztst5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index a8bc8c4da..9671483fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-09-25  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* unposted: Test/B02typeset.ztst: Add a test for 43546.
+
 2018-09-25  Peter Stephenson  <p.stephenson@samsung.com>
 
 	* Stephane: 43546: "typeset -p" should show presence of -U
diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst
index 996af064f..b53f42f83 100644
--- a/Test/B02typeset.ztst
+++ b/Test/B02typeset.ztst
@@ -819,3 +819,8 @@
 >  [one]=two
 >  [three]=''
 >)
+
+ (typeset -a -U foo=(bar bar)
+ typeset -p foo)
+0:typeset -p of typeset -U
+>typeset -aU foo=( bar )