aboutsummaryrefslogtreecommitdiffstats
path: root/t/chainlint/for-loop.expect
diff options
context:
space:
mode:
Diffstat (limited to 't/chainlint/for-loop.expect')
-rw-r--r--t/chainlint/for-loop.expect27
1 files changed, 14 insertions, 13 deletions
diff --git a/t/chainlint/for-loop.expect b/t/chainlint/for-loop.expect
index d65c82129a..5029eacce3 100644
--- a/t/chainlint/for-loop.expect
+++ b/t/chainlint/for-loop.expect
@@ -1,13 +1,14 @@
-(
- 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
-)
+2 (
+3 for i in a b c
+4 do
+5 echo $i ?!LINT: missing '&&'?!
+6 cat <<-\EOF ?!LINT: missing '|| exit 1'?!
+7 bar
+8 EOF
+9 done ?!LINT: missing '&&'?!
+10
+11 for i in a b c; do
+12 echo $i &&
+13 cat $i ?!LINT: missing '|| exit 1'?!
+14 done
+15 )