summaryrefslogtreecommitdiffstats
path: root/t/chainlint/for-loop.expect
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--t/chainlint/for-loop.expect13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/chainlint/for-loop.expect b/t/chainlint/for-loop.expect
new file mode 100644
index 0000000..d65c821
--- /dev/null
+++ b/t/chainlint/for-loop.expect
@@ -0,0 +1,13 @@
+(
+ for i in a b c
+ do
+ echo $i ?!AMP?!
+ cat <<-\EOF ?!LOOP?!
+ bar
+ EOF
+ done ?!AMP?!
+ for i in a b c; do
+ echo $i &&
+ cat $i ?!LOOP?!
+ done
+)