aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/description-line.test
blob: 0f70e7752f4df3ddb440bfbfb7ef35e45b0df186 (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