about summary refs log tree commit diff
path: root/Test/D04parameter.ztst
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-12-03 15:02:17 -0800
committerBarton E. Schaefer <schaefer@zsh.org>2016-12-03 15:02:17 -0800
commitffed0695c2ee6f4f1ffec909797e3433f34e3aca (patch)
treeecdbba4247f0e328a641c19d079a2bac92d64445 /Test/D04parameter.ztst
parenta409adc33bc17c9538a5afbdcb3c643b82cc6ce9 (diff)
downloadzsh-ffed0695c2ee6f4f1ffec909797e3433f34e3aca.tar.gz
zsh-ffed0695c2ee6f4f1ffec909797e3433f34e3aca.tar.xz
zsh-ffed0695c2ee6f4f1ffec909797e3433f34e3aca.zip
unposted: regression test for 40071
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r--Test/D04parameter.ztst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 4cbd2fa0f..834550cf5 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -852,6 +852,7 @@
   foo='b* e*'
   print ${(e)~foo}
   print ${(e)~=foo}
+  setopt nomatch
 0:Rule 10: Re-Evaluation
 >b* e*
 >boringfile evenmoreboringfile
@@ -2049,3 +2050,8 @@
 0:Out-of-range multiple array subscripts with quoting, with and without (@)
 >1
 >0
+
+  a='~-/'; echo $~a
+0:Regression: "-" became Dash in workers/37689, breaking ~- expansion
+*>*
+F:We do not care what $OLDPWD is, as long as it doesn't cause an error