aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/parser/expansion.test
blob: 0a40827e826a0850f3653b5e47b6e4dc5d631437 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# file      : unit-tests/test/script/parser/expansion.test
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

: quote
:
: Make sure everything expanded as strings.
:
$* <<EOI >>EOO
x = dir/ proj% proj%name proj%proj%dir/type{name   name   {name}}
cmd dir/ proj% proj%name proj%proj%dir/type{name   name   {name}}
cmd $x
EOI
cmd dir/ proj% proj%name proj%proj%dir/type{name name {name}}
cmd dir/ proj% proj%name proj%proj%dir/type{name name {name}}
EOO