blob: 1a00bc8038741ff608139382bf531fd7d4988ae9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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/
send "load ${scripts.path}/function.et"
expect /load-done/
send "load ${scripts.path}/function-fail.et"
expect /load-failed parse-error/
|