git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / chainlint / chain-break-false.test
| 1 | test_expect_success 'chain-break-false' ' |
| 2 | # LINT: broken &&-chain okay if explicit "false" signals failure |
| 3 | if condition not satisfied |
| 4 | then |
| 5 | echo it did not work... |
| 6 | echo failed! |
| 7 | false |
| 8 | else |
| 9 | echo it went okay |
| 10 | congratulate user |
| 11 | fi |
| 12 | ' |