summaryrefslogtreecommitdiffstats
path: root/Test
diff options
context:
space:
mode:
authordana <dana@dana.is>2026-05-27 22:28:37 -0500
committerdana <dana@dana.is>2026-05-27 22:42:51 -0500
commitc14a702e471a7fc91fbb41ca5c04c1b8bc172110 (patch)
treef809734dd1fa1653a851cff281e1d03c679786c4 /Test
parent54602: zformat: add -qQ options to auto-escape %s (diff)
downloadzsh-c14a702e471a7fc91fbb41ca5c04c1b8bc172110.tar
zsh-c14a702e471a7fc91fbb41ca5c04c1b8bc172110.tar.gz
zsh-c14a702e471a7fc91fbb41ca5c04c1b8bc172110.tar.bz2
zsh-c14a702e471a7fc91fbb41ca5c04c1b8bc172110.tar.lz
zsh-c14a702e471a7fc91fbb41ca5c04c1b8bc172110.tar.xz
zsh-c14a702e471a7fc91fbb41ca5c04c1b8bc172110.tar.zst
zsh-c14a702e471a7fc91fbb41ca5c04c1b8bc172110.zip
unposted: zformat: pass through %) with -q
the behaviour in the original patch was not actually desirable
Diffstat (limited to 'Test')
-rw-r--r--Test/V13zformat.ztst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Test/V13zformat.ztst b/Test/V13zformat.ztst
index 32245b7e2..449b96338 100644
--- a/Test/V13zformat.ztst
+++ b/Test/V13zformat.ztst
@@ -299,11 +299,11 @@
zformat -Fq$1 REPLY '%%x %) %. %X %D %d' d:%foo% D:%bar% && print -r - $REPLY
done
0:-q with and without optarg
->%%x ) %. %X %%bar%% %%foo%%
->%%x ) %. %X %bar% %foo%
->%%x ) %. %X %bar% %%foo%%
->%%x ) %. %X %%bar%% %%foo%%
->%%x ) %. %X %%bar%% %%foo%%
+>%%x %) %. %X %%bar%% %%foo%%
+>%%x %) %. %X %bar% %foo%
+>%%x %) %. %X %bar% %%foo%%
+>%%x %) %. %X %%bar%% %%foo%%
+>%%x %) %. %X %%bar%% %%foo%%
zformat -Fq REPLY '%(x.%%/%d.%%/%D)' x:1 d:%foo% D:%bar% && print -r - $REPLY
zformat -Fq REPLY '%(X.%%/%d.%%/%D)' x:1 d:%foo% D:%bar% && print -r - $REPLY