diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-01-08 21:01:24 +0100 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-01-08 21:01:24 +0100 |
| commit | 9b9cd5b2f25b39bf366e0487b723c2fa770fcd2c (patch) | |
| tree | 8530b191d778a4a68024dc9bdc7fc06747f80e4b /test/script | |
| parent | 401b4c233d12763853877d4c31a2cf4342ca87b6 (diff) | |
Diffstat (limited to 'test/script')
| -rw-r--r-- | test/script/run.et | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/test/script/run.et b/test/script/run.et index b2d3ca9..7f789ab 100644 --- a/test/script/run.et +++ b/test/script/run.et @@ -117,6 +117,9 @@ test CallStack: expect /match-fail-line .*\/callstack.et:3:5: .*/ expect /match-fail-var x 1/ local: + expect /(match-fail-.*)/ capture done + guard (done == "match-fail-done") + local: expect /(run-.*)/ capture done guard (done == "run-failed") flush @@ -126,6 +129,9 @@ test CallStack: expect /match-fail-line .*\/callstack.et:8:5: .*/ expect /match-fail-var x 2/ local: + expect /(match-fail-.*)/ capture done + guard (done == "match-fail-done") + local: expect /(run-.*)/ capture done guard (done == "run-failed") flush @@ -136,6 +142,9 @@ test CallStack: expect /match-fail-var x 1/ expect /match-fail-line .*\/callstack.et:15:5: .*/ local: + expect /(match-fail-.*)/ capture done + guard (done == "match-fail-done") + local: expect /(run-.*)/ capture done guard (done == "run-failed") flush @@ -148,6 +157,9 @@ test CallStack: expect /match-fail-line .*\/callstack.et:23:5: .*/ expect /match-fail-var z 3/ local: + expect /(match-fail-.*)/ capture done + guard (done == "match-fail-done") + local: expect /(run-.*)/ capture done guard (done == "run-failed") flush @@ -157,6 +169,10 @@ test CallStack: expect /match-fail-line .*\/callstack.et:27:5: .*/ expect /match-fail-var x 1/ expect /match-fail-line .*\/callstack.et:31:5: .*/ + expect /match-fail-var p .*/ + local: + expect /(match-fail-.*)/ capture done + guard (done == "match-fail-done") local: expect /(run-.*)/ capture done guard (done == "run-failed") @@ -168,8 +184,12 @@ test CallStack: expect /match-fail-var x 3/ expect /match-fail-var y 2/ expect /match-fail-line .*\/callstack.et:41:5: .*/ + expect /match-fail-var p .*/ expect /match-fail-var z 3/ local: + expect /(match-fail-.*)/ capture done + guard (done == "match-fail-done") + local: expect /(run-.*)/ capture done guard (done == "run-failed") flush |