summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2001-09-25 17:37:54 +0000
committerBart Schaefer <barts@users.sourceforge.net>2001-09-25 17:37:54 +0000
commit5fdcd3a2b46866aeafa99c980608577b21b470de (patch)
tree78d91fe9d66b52d1f7a8c18226129ae6254bb95c /Test
parentae9c181d6ba34c4f9db425f22b642c7bd22e4a79 (diff)
downloadzsh-5fdcd3a2b46866aeafa99c980608577b21b470de.tar.gz
zsh-5fdcd3a2b46866aeafa99c980608577b21b470de.zip
Equivalence of $(...) and `...` in ${(e)...}.
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst11
1 files changed, 9 insertions, 2 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 01d71dbc5..37b5a1897 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -212,10 +212,17 @@
>split me
>I'm yours
- foo='$(print Howzat)'
- print ${(e)foo}
+ foo='$(print Howzat usay)'
+ print -l ${(e)foo}
0:${(e)...}
>Howzat
+>usay
+
+ foo='`print Howzat usay`'
+ print -l ${(e)foo}
+0:Regress ${(e)...} with backticks (see zsh-workers/15871)
+>Howzat
+>usay
foo='I'\''m nearly out of my mind with tedium'
bar=foo