aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/test/script/lexer+variable-line.test.testscript
blob: bac4f163c1d9bdbf0b7de07e87e54f89425876de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# file      : libbuild2/test/script/lexer+variable-line.test.testscript
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license   : MIT; see accompanying LICENSE file

test.arguments = variable-line

: semi
:
$* <"cmd;" >>EOO
'cmd'
;
<newline>
EOO

: semi-separated
:
$* <"cmd ;" >>EOO
'cmd'
;
<newline>
EOO

: semi-only
:
$* <";" >>EOO
;
<newline>
EOO