aboutsummaryrefslogtreecommitdiff
path: root/tests/quote/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-09 16:20:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-09 16:20:41 +0200
commit1e61471d480575d069f96b858e4b46f43ba0530f (patch)
tree9a73101d555a2212fa68a36626fb850496da8e03 /tests/quote/buildfile
parentea66709a853255c7957a8a7907fd21fa7f6cfd3f (diff)
For newline escaping, ignore whole thing instead of making it newline
To capture literal newline, use quoting.
Diffstat (limited to 'tests/quote/buildfile')
-rw-r--r--tests/quote/buildfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/quote/buildfile b/tests/quote/buildfile
index 19c2bfc..a2ebbe9 100644
--- a/tests/quote/buildfile
+++ b/tests/quote/buildfile
@@ -29,4 +29,19 @@ print "("foo bar")"
print "("$foo bar")"
print "("$foo ($bar)")"
+# Quoting and escaping/multiline.
+#
+print \
+"foo"\
+"bar"
+
+print \
+"foo\
+bar"
+
+print \
+"foo (fox \
+)
+bar"
+
./: