about summary refs log tree commit diff
path: root/Test/A06assign.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2012-12-13 10:36:59 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2012-12-13 10:36:59 +0000
commit1869eeb393e2499e9949cc3458cdd74685342540 (patch)
treef896416f82e80f5b57787dda4195354531aebcf5 /Test/A06assign.ztst
parent431c22024d8af440ca4b79ce951896f3bcd0d7cc (diff)
downloadzsh-1869eeb393e2499e9949cc3458cdd74685342540.tar.gz
zsh-1869eeb393e2499e9949cc3458cdd74685342540.tar.xz
zsh-1869eeb393e2499e9949cc3458cdd74685342540.zip
30876: fix obscure failures to propagate non-zero status
from optimised simple commands within lists
Diffstat (limited to 'Test/A06assign.ztst')
-rw-r--r--Test/A06assign.ztst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst
index 84500f605..9a0a4f0cc 100644
--- a/Test/A06assign.ztst
+++ b/Test/A06assign.ztst
@@ -184,8 +184,8 @@
 
  typeset -A hash
  hash=(one 1)
- h+=string
- [[ $h[@] == string ]]
+ hash+=string
+ [[ $hash[@] == string ]]
 0:add scalar to association
 
 # tests of var+=(array)