summary refs log tree commit diff
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
parent45bdc87a1f4058f9a8cd5eaceda704284d4a89a1 (diff)
downloadzsh-a5cb918d4018bbd5cdc8751e5c9f4f55f0a211be.tar.gz
zsh-a5cb918d4018bbd5cdc8751e5c9f4f55f0a211be.tar.xz
zsh-a5cb918d4018bbd5cdc8751e5c9f4f55f0a211be.zip
unposted: Test for 36669
-rw-r--r--ChangeLog4
-rw-r--r--Test/D04parameter.ztst6
2 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5a4db9010..546620d6b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-28  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* unposted: Test/D04parameter.ztst: Test for 36669
+
 2015-09-28  Daniel Hahler  <git@thequod.de>
 
 	* 36601: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
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.'