diff options
| author | Roman Smrž <roman.smrz@seznam.cz> | 2026-05-16 16:06:39 +0200 |
|---|---|---|
| committer | Roman Smrž <roman.smrz@seznam.cz> | 2026-05-17 22:20:07 +0200 |
| commit | 9e1d65b41b0f5435859794682880c93767d1dc44 (patch) | |
| tree | 1aee5eacba9b970e6fc63b7e8f3b9adc2bc5b8d1 /test/script | |
| parent | d41cc2a1cdf9fc7a9d5781779363b9bb3eb82c00 (diff) | |
More generic unification in for statement
Diffstat (limited to 'test/script')
| -rw-r--r-- | test/script/list.et | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/script/list.et b/test/script/list.et index 8dcb4a8..a654111 100644 --- a/test/script/list.et +++ b/test/script/list.et @@ -3,6 +3,10 @@ module list asset scripts: path: ../asset/list +def expect_next_stdout (what) from p: + expect /child-stdout shell (.*)/ from p capture line + guard (line == what) + test ListConcat: spawn as p @@ -11,6 +15,19 @@ test ListConcat: expect /load-done/ send "run Test" + expect_next_stdout from p: + "c1 1" + "c1-end" + "c2 1" + "c2-end" + "c3 1" + "c3 2" + "c3 3" + "c3 6" + "c3 5" + "c3 2" + "c3 3" + "c3-end" local: expect /(run-.*)/ capture done guard (done == "run-done") |