diff options
Diffstat (limited to 't/chainlint/while-loop.expect')
| -rw-r--r-- | t/chainlint/while-loop.expect | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/t/chainlint/while-loop.expect b/t/chainlint/while-loop.expect index 06c1567f48..2ba5582165 100644 --- a/t/chainlint/while-loop.expect +++ b/t/chainlint/while-loop.expect @@ -1,14 +1,14 @@ -( - while true - do - echo foo ?!AMP?! - cat <<-\EOF ?!LOOP?! - bar - EOF - done ?!AMP?! - - while true; do - echo foo && - cat bar ?!LOOP?! - done -) +2 ( +3 while true +4 do +5 echo foo ?!LINT: missing '&&'?! +6 cat <<-\EOF ?!LINT: missing '|| exit 1'?! +7 bar +8 EOF +9 done ?!LINT: missing '&&'?! +10 +11 while true; do +12 echo foo && +13 cat bar ?!LINT: missing '|| exit 1'?! +14 done +15 ) |
