git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / while-loop.expect
| 1 | 2 ( |
| 2 | 3 while true |
| 3 | 4 do |
| 4 | 5 echo foo ?!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 while true; do |
| 11 | 12 echo foo && |
| 12 | 13 cat bar ?!LINT: missing '|| exit 1'?! |
| 13 | 14 done |
| 14 | 15 ) |