blob: 3fa51bd5ba914608f775536f6e8762901808b806 (
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
29
30
31
32
33
|
# file : libbuild2/test/script/lexer+description-line.test.testscript
# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
test.arguments = description-line
: full
:
$* <" foo bar " >>EOO
' foo bar '
<newline>
EOO
: space
:
$* <" " >>EOO
' '
<newline>
EOO
: empty
:
$* <"" >>EOO
<newline>
EOO
: eof
:
$* <:"foo" >>EOO 2>>EOE != 0
'foo'
EOO
<stdin>:1:4: error: expected newline at the end of description line
EOE
|