about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2017-02-24 05:17:04 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2017-02-25 08:05:11 +0000
commit6c476c22111122006dcacc767b2c2846ede881e8 (patch)
treee56e37dae2e03cf23992731092d835418915f0ab /Test
parentdb44b17150b05be43f5eff7e6cc5fe474fce5087 (diff)
downloadzsh-6c476c22111122006dcacc767b2c2846ede881e8.tar.gz
zsh-6c476c22111122006dcacc767b2c2846ede881e8.tar.xz
zsh-6c476c22111122006dcacc767b2c2846ede881e8.zip
40626: Make $options re-settable.
Follow-up to 40508.

Reported-by: James McGlashan
Diffstat (limited to 'Test')
-rw-r--r--Test/V06parameter.ztst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/V06parameter.ztst b/Test/V06parameter.ztst
index 27d587852..2b6671300 100644
--- a/Test/V06parameter.ztst
+++ b/Test/V06parameter.ztst
@@ -92,6 +92,9 @@
 >foo
 >bar
 
+ options+=(); options+=()
+0:$options can be appended to twice
+
 %clean
 
  rm -f autofn functrace.zsh rocky3.zsh sourcedfile myfunc