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.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/unit-tests/test/script/lexer/first-token.test b/unit-tests/test/script/lexer/first-token.test
new file mode 100644
index 0000000..a665fed
--- /dev/null
+++ b/unit-tests/test/script/lexer/first-token.test
@@ -0,0 +1,8 @@
+# Note: this mode auto-expires after each token.
+#
+test.arguments += first-token
+
+$* <";" >>EOO # semi-only
+;
+<newline>
+EOO