mirror of
https://github.com/zsh-users/zsh
synced 2024-10-04 15:09:11 +00:00
41485: test for previous fix
This commit is contained in:
parent
a51cd62b45
commit
039a34cca5
|
@ -1,5 +1,7 @@
|
|||
2017-08-03 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 41485: Test/A03quoting.ztst: test for previous fix.
|
||||
|
||||
* Martijn: 41484: Src/utils.c: ${(q+)...} didn't properly
|
||||
quote backslashes.
|
||||
|
||||
|
|
|
@ -78,3 +78,8 @@
|
|||
() { print $# } '' "" $''
|
||||
0:$'' should not be elided, in common with other empty quotes
|
||||
>3
|
||||
|
||||
foo=$'one\\two\n\'buckle\'\tmy\\shoe\n'
|
||||
print -r ${(q+)foo}
|
||||
0:Extended minimal quoting of quotes and backslashes
|
||||
>$'one\\two\n\'buckle\'\tmy\\shoe\n'
|
||||
|
|
Loading…
Reference in a new issue