1
0
mirror of https://github.com/zsh-users/zsh synced 2024-07-05 17:18:49 +00:00

41485: test for previous fix

This commit is contained in:
Peter Stephenson 2017-08-03 21:50:18 +01:00
parent a51cd62b45
commit 039a34cca5
2 changed files with 7 additions and 0 deletions

View File

@ -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.

View File

@ -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'