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.test20
1 files changed, 16 insertions, 4 deletions
diff --git a/unit-tests/test/script/lexer/description-line.test b/unit-tests/test/script/lexer/description-line.test
index 0f70e77..6b160c0 100644
--- a/unit-tests/test/script/lexer/description-line.test
+++ b/unit-tests/test/script/lexer/description-line.test
@@ -1,20 +1,32 @@
+# file : unit-tests/test/script/lexer/description-line.test
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
test.arguments = description-line
-$* <" foo bar " >>EOO # full
+: full
+:
+$* <" foo bar " >>EOO
' foo bar '
<newline>
EOO
-$* <" " >>EOO # space
+: space
+:
+$* <" " >>EOO
' '
<newline>
EOO
-$* <"" >>EOO # empty
+: empty
+:
+$* <"" >>EOO
<newline>
EOO
-$* <:"foo" >>EOO 2>>EOE != 0 # eof
+: eof
+:
+$* <:"foo" >>EOO 2>>EOE != 0
'foo'
EOO
stdin:1:4: error: expected newline at the end of description line