git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / for-loop.expect
| 1 | 2 ( |
| 2 | 3 for i in a b c |
| 3 | 4 do |
| 4 | 5 echo $i ?!LINT: missing '&&'?! |
| 5 | 6 cat <<-\EOF ?!LINT: missing '|| exit 1'?! |
| 6 | 7 bar |
| 7 | 8 EOF |
| 8 | 9 done ?!LINT: missing '&&'?! |
| 9 | 10 |
| 10 | 11 for i in a b c; do |
| 11 | 12 echo $i && |
| 12 | 13 cat $i ?!LINT: missing '|| exit 1'?! |
| 13 | 14 done |
| 14 | 15 ) |