aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/first-token.test
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/test/script/lexer/first-token.test')
-rw-r--r--unit-tests/test/script/lexer/first-token.test12
1 files changed, 11 insertions, 1 deletions
diff --git a/unit-tests/test/script/lexer/first-token.test b/unit-tests/test/script/lexer/first-token.test
index fb75c8b..a433362 100644
--- a/unit-tests/test/script/lexer/first-token.test
+++ b/unit-tests/test/script/lexer/first-token.test
@@ -2,11 +2,21 @@
#
test.arguments += first-token
-$* <";" >>EOO # semi-only
+$* <";" >>EOO # semi
;
<newline>
EOO
+$* <"{" >>EOO # lcbrace
+{
+<newline>
+EOO
+
+$* <"}" >>EOO # rcbrace
+}
+<newline>
+EOO
+
$* <"+foo" >>EOO # setup
+
'foo'