aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/variable-line.test
blob: c97981d308befd41b5ca6398752c9e8e74f87596 (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-2017 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