From 039a34cca5fb2ad1ae16e5a5914bdab3071b7186 Mon Sep 17 00:00:00 2001
From: Peter Stephenson
Date: Thu, 3 Aug 2017 21:50:18 +0100
Subject: [PATCH] 41485: test for previous fix
---
ChangeLog | 2 ++
Test/A03quoting.ztst | 5 +++++
2 files changed, 7 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 0336c8787..997c0d9dc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2017-08-03 Peter Stephenson
+ * 41485: Test/A03quoting.ztst: test for previous fix.
+
* Martijn: 41484: Src/utils.c: ${(q+)...} didn't properly
quote backslashes.
diff --git a/Test/A03quoting.ztst b/Test/A03quoting.ztst
index da3ce359a..be9ca66de 100644
--- a/Test/A03quoting.ztst
+++ b/Test/A03quoting.ztst
@@ -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'