diff options
Diffstat (limited to 'tests/test/script/runner')
-rw-r--r-- | tests/test/script/runner/for.testscript | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/test/script/runner/for.testscript b/tests/test/script/runner/for.testscript index f43fcc2..0ca67c3 100644 --- a/tests/test/script/runner/for.testscript +++ b/tests/test/script/runner/for.testscript @@ -30,6 +30,19 @@ %.+ -b% EOO + : custom-iteration + : + $c <<EOI && $b >>EOO + j = $json.parse('[1, 2, 3]') + for e: $j + echo $e >| + end + EOI + 1 + 2 + 3 + EOO + : special-var : $c <<EOI && $b 2>>EOE != 0 |