aboutsummaryrefslogtreecommitdiff
path: root/unit-tests/test/script/lexer/first-token.test
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-10-26 13:38:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:35 +0200
commit616690fd06d1c5d05de97b88119dd8d328522df0 (patch)
treea7e212f33d30efb598464571b23531621064e5c9 /unit-tests/test/script/lexer/first-token.test
parent8fabd86e687ef9455f1b31abbe0b44876afdecab (diff)
Implement support for testscript scopes
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'