summaryrefslogtreecommitdiff
path: root/Test
diff options
context:
space:
mode:
Diffstat (limited to 'Test')
-rw-r--r--Test/D04parameter.ztst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst
index 8791f570a..74c73b360 100644
--- a/Test/D04parameter.ztst
+++ b/Test/D04parameter.ztst
@@ -462,6 +462,17 @@
>with
>comment
+ line=$'echo one\necho two # with a comment\necho three'
+ print -l ${(z+nc+)line}
+0:Treating zplit newlines as ordinary whitespace
+>echo
+>one
+>echo
+>two
+># with a comment
+>echo
+>three
+
psvar=(dog)
setopt promptsubst
foo='It shouldn'\''t $(happen) to a %1v.'