summaryrefslogtreecommitdiffstats
path: root/test/00-command-exit.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/00-command-exit.txt')
-rw-r--r--test/00-command-exit.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/00-command-exit.txt b/test/00-command-exit.txt
new file mode 100644
index 0000000..4b58137
--- /dev/null
+++ b/test/00-command-exit.txt
@@ -0,0 +1,9 @@
+%% Test to make sure the %exit command really exits.
+%% The 'foo' command doesn't exist, so if that line is reached the parser
+%% throws an error.
+%mode init
+A1:1
+A2:2
+%exit
+%foo
+