about summary refs log tree commit diff
path: root/Test/A03quoting.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2016-03-07 09:44:54 +0000
committerPeter Stephenson <pws@zsh.org>2016-03-07 09:44:54 +0000
commitdc2397f7548632910267f31bc1c97d45602453c0 (patch)
tree6300eaa8112875aefb4570d169daa9b62d5c4e28 /Test/A03quoting.ztst
parent17fb014dc7984902a6697c6412b0cca55300542b (diff)
downloadzsh-dc2397f7548632910267f31bc1c97d45602453c0.tar.gz
zsh-dc2397f7548632910267f31bc1c97d45602453c0.tar.xz
zsh-dc2397f7548632910267f31bc1c97d45602453c0.zip
users/21352: ensure $'' doesn't get elided.
Assign nulstring to it if empty.  Test for all forms of quotation
marks.
Diffstat (limited to 'Test/A03quoting.ztst')
-rw-r--r--Test/A03quoting.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/A03quoting.ztst b/Test/A03quoting.ztst
index 0cf0e8a02..da3ce359a 100644
--- a/Test/A03quoting.ztst
+++ b/Test/A03quoting.ztst
@@ -74,3 +74,7 @@
 >16#61
 >16#62
 >16#64
+
+ () { print $# } '' "" $''
+0:$'' should not be elided, in common with other empty quotes
+>3