summaryrefslogtreecommitdiff
path: root/test/script/parser.et
diff options
context:
space:
mode:
Diffstat (limited to 'test/script/parser.et')
-rw-r--r--test/script/parser.et13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/script/parser.et b/test/script/parser.et
new file mode 100644
index 0000000..554e345
--- /dev/null
+++ b/test/script/parser.et
@@ -0,0 +1,13 @@
+module parser
+
+asset scripts:
+ path: ../asset/parser
+
+test Parser:
+ spawn as p
+ with p:
+ send "load non-existing-file.et"
+ expect /load-failed file-not-found .*/
+
+ send "load ${scripts.path}/indent.et"
+ expect /load-done/