aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/description-line.test
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/lexer/description-line.test')
-rw-r--r--unit-tests/test/script/lexer/description-line.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/unit-tests/test/script/lexer/description-line.test b/unit-tests/test/script/lexer/description-line.test
index f0f0c9f..1d317eb 100644
--- a/unit-tests/test/script/lexer/description-line.test
+++ b/unit-tests/test/script/lexer/description-line.test
@@ -2,16 +2,20 @@ test.arguments += description-line
$* <" foo bar " >>EOO # full
' foo bar '
+<newline>
EOO
$* <" " >>EOO # space
' '
+<newline>
EOO
$* <"" >>EOO # empty
-''
+<newline>
EOO
-$* <:"foo" 2>>EOE != 0 # eof
+$* <:"foo" >>EOO 2>>EOE != 0 # eof
+'foo'
+EOO
stdin:1:4: error: expected newline at the end of description line
EOE