From 8e3ca08f13f198caa7cd7dc2bb37863238bea4f2 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Mon, 31 Aug 2015 14:52:59 +0200 Subject: 36347: Fix appending empty array to associations --- Test/A06assign.ztst | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Test/A06assign.ztst') 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 -- cgit 1.4.1