summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-28 18:13:49 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-09-28 18:13:52 +0000
commita5cb918d4018bbd5cdc8751e5c9f4f55f0a211be (patch)
treec2c097d07e7ba35567ceb3c5947260120c2b2867 /Test
parent45bdc87a1f4058f9a8cd5eaceda704284d4a89a1 (diff)
downloadzsh-a5cb918d4018bbd5cdc8751e5c9f4f55f0a211be.tar.gz
zsh-a5cb918d4018bbd5cdc8751e5c9f4f55f0a211be.tar.xz
zsh-a5cb918d4018bbd5cdc8751e5c9f4f55f0a211be.zip
unposted: Test for 36669
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index e380e19b8..f1cc23e7c 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -572,6 +572,12 @@
 >echo
 >three
 
+  print -rl - ${(z):-":;(( echo 42 "}
+0:${(z)} with incomplete math expressions
+>:
+>;
+>(( echo 42 
+
   psvar=(dog)
   setopt promptsubst
   foo='It shouldn'\''t $(happen) to a %1v.'