aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/description-line.test
blob: 1d317eb49d165c2ce6cb775b58018ab736fd37c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
test.arguments += description-line

$* <" foo  bar " >>EOO # full
' foo  bar '
<newline>
EOO

$* <"  " >>EOO # space
'  '
<newline>
EOO

$* <"" >>EOO # empty
<newline>
EOO

$* <:"foo" >>EOO 2>>EOE != 0 # eof
'foo'
EOO
stdin:1:4: error: expected newline at the end of description line
EOE