diff options
| author | Mikael Magnusson <mikachu@gmail.com> | 2015-08-31 14:52:59 +0200 |
|---|---|---|
| committer | Mikael Magnusson <mikachu@gmail.com> | 2015-09-01 23:20:05 +0200 |
| commit | 8e3ca08f13f198caa7cd7dc2bb37863238bea4f2 (patch) | |
| tree | 9d61db4475d8a74c18d25a849ffa7de03b85892a /Test | |
| parent | 36380: Avoid gcc case syntax (diff) | |
| download | zsh-8e3ca08f13f198caa7cd7dc2bb37863238bea4f2.tar zsh-8e3ca08f13f198caa7cd7dc2bb37863238bea4f2.tar.gz zsh-8e3ca08f13f198caa7cd7dc2bb37863238bea4f2.tar.bz2 zsh-8e3ca08f13f198caa7cd7dc2bb37863238bea4f2.tar.lz zsh-8e3ca08f13f198caa7cd7dc2bb37863238bea4f2.tar.xz zsh-8e3ca08f13f198caa7cd7dc2bb37863238bea4f2.tar.zst zsh-8e3ca08f13f198caa7cd7dc2bb37863238bea4f2.zip | |
36347: Fix appending empty array to associations
Diffstat (limited to 'Test')
| -rw-r--r-- | Test/A06assign.ztst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst index 302659c7e..1e3d2ede9 100644 --- a/Test/A06assign.ztst +++ b/Test/A06assign.ztst @@ -249,6 +249,14 @@ >2 >3 + typeset -A h + h=(a 1 b 2) + h+=() + print -l $h +0:add empty array to association +>1 +>2 + # tests of var[range]+=scalar s=sting |
