blob: 908431efca2c394b489d99ed9c13f0801bf63764 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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/
send "load ${scripts.path}/tags.et"
expect /load-done/
|