aboutsummaryrefslogtreecommitdiff
path: root/tests/quote/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-08 16:42:24 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-08 16:42:24 +0200
commitccca13f8eadef31f2df873cb505ebca98501c45a (patch)
treed87b67fd42909dfc5cca2ae2a999de8f8e0cc969 /tests/quote/buildfile
parentb5940dd5562bfa12d6d76dceb61540b4480a4982 (diff)
Initial take on double quote support
Currently, $(foo)-style variable expansion is not supported.
Diffstat (limited to 'tests/quote/buildfile')
-rw-r--r--tests/quote/buildfile18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/quote/buildfile b/tests/quote/buildfile
new file mode 100644
index 0000000..931bc36
--- /dev/null
+++ b/tests/quote/buildfile
@@ -0,0 +1,18 @@
+print "foo bar"
+print "foo
+bar"
+
+foo = "fo o"
+bar = " bar "
+
+print "$foo"
+print "$bar"
+print "$foo $bar"
+print "$foo$bar"
+
+print "[ $foo ]"
+print "[ $bar ]"
+print "[ $foo $bar ]"
+print "[ $foo/$bar ]"
+
+./: