git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / loop-in-if.test
| 1 | test_expect_success 'loop-in-if' ' |
| 2 | ( |
| 3 | if true |
| 4 | then |
| 5 | while true |
| 6 | do |
| 7 | # LINT: missing "&&" on "echo" |
| 8 | echo "pop" |
| 9 | echo "glup" |
| 10 | # LINT: missing "&&" on "done" |
| 11 | done |
| 12 | foo |
| 13 | # LINT: missing "&&" on "fi" |
| 14 | fi |
| 15 | bar |
| 16 | ) |
| 17 | ' |