diff options
Diffstat (limited to 'test/script/run.et')
-rw-r--r-- | test/script/run.et | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/test/script/run.et b/test/script/run.et index dc2b812..f7e4f69 100644 --- a/test/script/run.et +++ b/test/script/run.et @@ -111,10 +111,20 @@ test CallStack: send "load ${scripts.path}/callstack.et" expect /load-done/ - send "run A" + send "run AG" expect /match-fail guard failed/ expect /match-fail-line .*\/callstack.et:3:5: .*/ expect /match-fail-var x 1/ local: expect /(run-.*)/ capture done guard (done == "run-failed") + flush + + send "run AE" + expect /match-fail expect failed/ + expect /match-fail-line .*\/callstack.et:8:5: .*/ + expect /match-fail-var x 2/ + local: + expect /(run-.*)/ capture done + guard (done == "run-failed") + flush |