aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/variable-line.test
blob: 68d3a71a12dd734ecd90355472b05f63a2932f0e (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      : unit-tests/test/script/lexer/variable-line.test
# copyright : Copyright (c) 2014-2018 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